import { FieldListResponse } from '../../../types/form';
import { WriteFormFields } from '../types/form';
export interface CustomFieldsResponse {
    fieldList: FieldListResponse[];
}
export interface CustomFieldsProps {
    formId: string;
    args: Record<string, unknown>;
}
export interface CustomFieldsQueryProps extends CustomFieldsProps {
    enabled: boolean;
    delay?: number;
}
export declare const fetchCustomFields: ({ formId, args }: CustomFieldsProps) => Promise<WriteFormFields[]>;
export declare const useCustomFieldsQuery: ({ formId, args, enabled, delay }: CustomFieldsQueryProps) => import('@tanstack/react-query').UseQueryResult<WriteFormFields[], Error>;
//# sourceMappingURL=getCustomFields.d.ts.map