import type { ReactNode } from "react"; import type { FieldValues } from "react-hook-form"; import { type EditableSectionProps } from "../containers/EditableSection"; import { type FormEditorProps } from "./useFormEditorModal"; export interface FormEditableSectionProps extends Pick, Omit, "size" | "title"> { /** Size of the editor modal. */ modalSize?: FormEditorProps["size"]; /** Heading of the editor modal. Defaults to `title`. */ modalTitle?: string; } /** * An EditableSection whose editor is a modal owning its own Form — see * useFormEditorModal for how the edit is kept out of the screen's state. The * body stays `children`, so the read-only content is written as plain JSX. */ export declare function FormEditableSection({ title, titleBadge, details, editAriaLabel, editIcon, editIconVariant, accent, className, disabled, modalSize, modalTitle, children, ...editorProps }: FormEditableSectionProps): ReactNode; //# sourceMappingURL=FormEditableSection.d.ts.map