import React, { Dispatch, ReactNode, SetStateAction } from 'react';
import { LOCALE, UserInfo } from "../../interfaces/types";
import { ThankyouType } from "./context";
import { TrackingFormProps } from "../LeadGen.type";
export declare const Component: ({ campaign, onClose: onCloseProp, onOtherSubmit, onSubmit, showThankyou, setShowThankyou, locale, children, showEmpty, setShowEmpty, userInfo, }: {
    campaign: any;
    onClose?: (params?: TrackingFormProps) => void;
    onOtherSubmit?: () => void;
    onSubmit?: (params?: TrackingFormProps) => void;
    showThankyou?: ThankyouType;
    setShowThankyou: any;
    locale?: LOCALE;
    children?: ReactNode;
    showEmpty?: boolean;
    setShowEmpty?: Dispatch<SetStateAction<boolean>>;
    userInfo?: UserInfo | null;
}) => React.JSX.Element;
