import { Dispatch, MutableRefObject, SetStateAction } from 'react';
import { LOCALE } from "../../types";
import { OtpData } from "./otpBlock";
import { TrackingFormProps } from "../LeadGen.type";
export type ThankyouType = {
    title: string;
    titleAlign?: string;
    subtitle: string;
    subtitleAlign?: string;
    link: string;
    linkNewTab?: boolean;
    linkText: string;
    image?: string;
};
export type LeadGenComponentContextType = {
    formRef: {
        current: HTMLFormElement | null;
    };
    setFormRef: Dispatch<SetStateAction<HTMLFormElement | null>>;
    campaignId: number;
    campaign_subot_id: number[];
    heading: string;
    description: string;
    showOtpPhone: OtpData | null;
    setShowOtpPhone: Dispatch<SetStateAction<OtpData | null>>;
    showThankyou: ThankyouType;
    setShowThankyou: Dispatch<SetStateAction<ThankyouType | null>>;
    listBlockAdded: any;
    textBlocks: any;
    actionBlocks: any;
    leadFormConfig: any;
    validatingEmailRef: MutableRefObject<boolean>;
    validatingPhoneRef: MutableRefObject<boolean>;
    locale?: LOCALE;
    onClose?: (v?: TrackingFormProps) => void;
    onOtherSubmit?: () => void;
    onSubmit?: (v?: TrackingFormProps) => void;
    showEmpty?: boolean;
    setShowEmpty?: Dispatch<SetStateAction<boolean>>;
};
export declare const LeadGenComponentContext: import("react").Context<LeadGenComponentContextType>;
