import { ElementType, ReactNode } from 'react';
import { ZeroFuncType } from 'waujs';
interface EditableBlockProps {
    Edit: ElementType;
    Display: ElementType;
    optionalMenu?: ReactNode;
    title: string | ReactNode;
    defaultValues?: any;
    editable?: boolean;
}
export interface EditableBlockEditProps {
    cancelEdit: ZeroFuncType;
    defaultValues: any;
}
export interface EditableBlockDisplayProps {
    defaultValues: any;
}
declare function EditableBlock({ Edit, Display, title, defaultValues, editable, optionalMenu }: EditableBlockProps): import("react/jsx-runtime").JSX.Element;
export default EditableBlock;
