import { AcsMode } from '~src/constants'; export interface Create3dsSessionRequest { tokenId?: string; tokenIntentId?: string; correlationId?: string; /** * @deprecated This property is deprecated in favor of `tokenId` */ pan?: string; skipMethodRequest?: boolean; /** * @deprecated This property is deprecated and will be removed in the next major version. */ methodRequestMode?: AcsMode; challengeMode?: AcsMode; metadata?: Record; } export type Create3dsSessionResponse = { id: string; cardBrand?: string; method_url?: string; method_notification_url?: string; additional_card_brands?: string[]; correlationId: string; metadata?: Record; }; export declare const createSession: ({ tokenId, tokenIntentId, pan, skipMethodRequest, methodRequestMode, challengeMode, correlationId, metadata, }: Create3dsSessionRequest) => Promise<{ id: string; correlationId: string; cardBrand?: string; additionalCardBrands?: string[]; } | { id: string; cardBrand?: string; additionalCardBrands?: string[]; metadata?: Record; }>;