import { useAppDispatch } from '../store/hooks';
import { AsyncLoadConfig, AsyncCreateConfig } from '@connector/ui';
import { FormFields, FormState } from '../types/form';
interface DropdownConfigProps {
    formFields: FormFields[];
    formState: FormState;
    formId: string | number;
    conversationId?: number;
}
type GetCreateConfigProps = {
    formFields: FormFields[];
    formId: string | number;
    formState: FormState;
    conversationId?: number;
    appDispatch: ReturnType<typeof useAppDispatch>;
};
export declare const _getCreateConfigMap: ({ formFields, formId, formState, conversationId, appDispatch }: GetCreateConfigProps) => AsyncCreateConfig;
export declare const useDropdownConfig: ({ formFields, formState, formId, conversationId }: DropdownConfigProps) => {
    fetchConfig: AsyncLoadConfig | null;
    createConfig: AsyncCreateConfig;
};
export {};
//# sourceMappingURL=useDropdownConfig.d.ts.map