import { FetchStateAndError, FetchedState, ID } from '../../../../commonStateTypes/common'; export declare const getSupportedAccountKey: (currencyCode: string, amount: number, vendorType: string) => string; type SupportedAccountKey = ReturnType; export interface InternationalWireState { createInternationalWireDetails: CreateInternationalWireDetails; dynamicFormDetailsbyKey: Record; paymentInstrumentDeletionState: Record; } export interface DynamicFormDetails extends FetchedState { supportedAccountTypes: SupportedAccountType[]; supportedDynamicFormByTypes: Record; } export interface SupportedAccountType { title: string; type: string; } export interface DynamicFormField { fieldType: FieldType; label: string; name: string; placeholder: string; refreshOnChange: boolean; required: boolean; asyncValidation?: DynamicAsyncValidation; maxLength?: number; minLength?: number; validationRegex?: RegExp; valuesAllowed?: InternationalWireFormFieldGroupAllowedValue[]; } export interface DynamicAsyncValidation { params: string[]; url: string; } export interface CreateInternationalWireDetails { createStatus: FetchStateAndError; localData?: CreateInternationalWireDetailsLocalData; } export interface CreateInternationalWireDetailsLocalData { dynamicForm: DynamicFormLocalData; accountType?: SupportedAccountType; countryCode?: string; currencyCode?: string; source?: string; } export type DynamicFormLocalData = Record>; export interface InternationalWireFormFieldGroupAllowedValue { label: string; value: string; } export type FieldType = 'text' | 'select' | 'radio' | 'number'; export declare const intialDynamicFormDetails: DynamicFormDetails; export {};