import type { ReactNode } from "react"; import type { FieldValues } from "react-hook-form"; import { type EditableItemProps } from "../data/EditableItem"; import { type FormEditorProps } from "./useFormEditorModal"; export interface FormEditableItemProps extends Pick, FormEditorProps { } /** * An EditableItem whose editor is a modal owning its own Form — see * useFormEditorModal for how the edit is kept out of the screen's state. * Reach for FormEditableSection instead when the value is a block of several * lines rather than a summary that fits beside the label. */ export declare function FormEditableItem({ label, summary, details, editAriaLabel, editIcon, variant, accent, disabled, title, ...editorProps }: FormEditableItemProps): ReactNode; //# sourceMappingURL=FormEditableItem.d.ts.map