import { FetchStateAndError, ID, NewGlobalMerchantData, RecommendedNonExistingGlobalMerchant } from '@zeniai/client-epic-state'; import { DisableMode } from '../../../formElements/common/common'; import { FormSectionProps } from '../../../formElements/common/formSection'; export interface NewGlobalMerchantSectionProps extends FormSectionProps { recommendationFetchState: FetchStateAndError; recommendedGlobalMerchants: RecommendedNonExistingGlobalMerchant[]; isDisabled?: DisableMode; newGlobalMerchantData?: NewGlobalMerchantData; style?: React.CSSProperties; fetchRecommendation: () => void; } export declare const NewGlobalMerchantSection: ({ recommendationFetchState, newGlobalMerchantData, recommendedGlobalMerchants, sectionId, isDisabled, style, fetchRecommendation, }: NewGlobalMerchantSectionProps) => import("react/jsx-runtime").JSX.Element; /** * Form Data Type */ export interface NewGlobalMerchantSectionFormData { globalMerchantName: string; recommendedFirst: boolean; recommendedSecond: boolean; globalMerchantWebsiteUrl?: string; newGlobalMerchantId?: ID; } type FormDataKeys = keyof NewGlobalMerchantSectionFormData; declare const uniqueName: (sectionId: string, key: FormDataKeys) => `${string}.recommendedFirst` | `${string}.recommendedSecond` | `${string}.globalMerchantName` | `${string}.globalMerchantWebsiteUrl` | `${string}.newGlobalMerchantId`; export type FormDataKeyUniqueNames = ReturnType; export {};