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