import { MinimalCodeSystemCode } from '@mesalvo/ts-definitions';
export type InputValueType = string | number | boolean | MinimalCodeSystemCode | MinimalCodeSystemCode[] | null;
export type MetaData = Record<string, any>;
export type FormDataFromMeta = Record<string, unknown>;
export interface FormContextProps<M extends MetaData = MetaData> {
    formData: Record<string, any>;
    metaData: M;
    updateField: (shortcut: string, value: any) => void;
    isEditing?: boolean;
    /** Control modal behavior for DateInput popovers. Set to false when DynamicForm is inside a Dialog/Drawer. Default: true */
    isInsideDrawer?: boolean;
    /**
     * Optional render function for AI assistant button on text inputs
     * @param params - Field information for AI context
     * @returns React node to render (typically an AI assistant button)
     */
    renderAiAssistant?: (params: {
        fieldLabel: string;
        currentValue: string;
        onApply: (value: string) => void;
    }) => React.ReactNode;
}
//# sourceMappingURL=index.d.ts.map