import { AiFormAssistantConfig, FormSuggestion } from '../../components/form-assistant/types';
interface UseAiFormAssistantParams {
    formData: Record<string, unknown>;
    metaData?: Record<string, unknown>;
    /**
     * Visual order of field shortcuts as they appear on screen (top-to-bottom).
     * When provided, the AI message will list fields in this order so that
     * references like "the second field" match what the user sees.
     */
    orderedFields?: string[];
    config?: AiFormAssistantConfig;
    onChunk?: (suggestions: FormSuggestion[]) => void;
}
interface UseAiFormAssistantReturn {
    generateSuggestions: (userPrompt: string) => Promise<FormSuggestion[]>;
    isLoading: boolean;
    error: string | null;
}
export declare const useAiFormAssistant: ({ formData, metaData, orderedFields, config, onChunk, }: UseAiFormAssistantParams) => UseAiFormAssistantReturn;
export {};
//# sourceMappingURL=use-ai-form-assistant.d.ts.map