import { ReactNode } from 'react';
import { LOCALE, UserInfo } from "../types";
import { LeadGenBlock, LeadGenFormProps } from "./LeadGenForm";
export type LeadGenFormValue = Record<string, any>;
export type LeadGenExtraPayload = {
    key: string;
    value: string;
    control: string;
};
export type LeadGenProps = {
    campaign_code?: string;
    forceCampaign?: any;
    apiSsoUrl?: string;
    apiLeadUrl?: string;
    apiSubotUrl?: string;
    locale?: LOCALE;
    siteId?: string;
    siteDomain?: string;
    extraValues?: LeadGenFormValue;
    extraPayloadValues?: LeadGenExtraPayload[];
    userInfo?: UserInfo | null;
    onFinish?: (value: LeadGenFormValue, metaValue?: {
        blocks?: LeadGenBlock[];
        isUpdateSso?: boolean;
    }) => void;
    articleId?: number;
    categoryId?: number;
};
export type LeadGenSubscriptionBoxProps = Omit<LeadGenFormProps, 'className' | 'style'> & {
    loading?: boolean;
    image?: string;
    title?: string | ReactNode;
    submitText?: string;
};
