import { MutableRefObject } from 'react';
import { UserInfo } from "../../../interfaces/types";
export declare const LeadFormProvider: import("react").FC<import("@mantine/form/lib/FormProvider/FormProvider").FormProviderProps<import("@mantine/form").UseFormReturnType<unknown, (values: unknown) => unknown>>>, useLeadFormContext: () => import("@mantine/form").UseFormReturnType<unknown, (values: unknown) => unknown>, useLeadForm: import("@mantine/form/lib/types").UseForm<unknown, (values: unknown) => unknown>;
export declare const useLeadFormConfig: ({ listBlockAdded, validatingPhoneRef, validatingEmailRef, campaignId, campaign_subot_id, userInfo, }: {
    listBlockAdded: any[];
    validatingPhoneRef: MutableRefObject<boolean>;
    validatingEmailRef: MutableRefObject<boolean>;
    campaignId: number;
    campaign_subot_id: number[];
    userInfo?: UserInfo | null;
}) => {
    form: import("@mantine/form").UseFormReturnType<unknown, (values: unknown) => unknown>;
    validateObj: import("@mantine/form/lib/types").FormValidateInput<unknown>;
};
