import { FormStatusLoad } from '../../../hook-form/RHFormProvider/types';
import { DynamicFormApiResponse } from '../../types';
export interface UseDynamicFormDataProps {
    formId?: number;
    formInstanceId?: number;
    inputEndpoint?: string;
    outputEndpoint?: string;
    formatInputData?: (data: Record<string, unknown>) => Record<string, unknown>;
    formatOutputData?: (data: Record<string, unknown>) => Record<string, unknown>;
    onSubmit?: (data: Record<string, unknown>) => void | Promise<void>;
    initialData?: DynamicFormApiResponse | null;
}
export type DynamicFormDataStatusLoad = 'initial' | 'ready' | 'error';
export interface UseDynamicFormDataReturn {
    formData: DynamicFormApiResponse | null;
    statusLoad: FormStatusLoad;
    handleSubmit: (data: Record<string, unknown>) => Promise<void>;
    isLoading: boolean;
}
//# sourceMappingURL=types.d.ts.map