import { FundingSourceInteractionData } from './typings/fundingSource'; declare class VirtualCardsError extends Error { constructor(msg?: string); } /** * An error has occurred surrounding the state of the funding source being accessed. */ export declare class FundingSourceStateError extends VirtualCardsError { constructor(msg?: string); } /** * The funding source has not been setup. Please ensure that `setupFundingSource` is called first. */ export declare class FundingSourceNotSetupError extends VirtualCardsError { constructor(msg?: string); } /** * Provisional Funding source not found. * * The identifier used does not match any existing Provisional Funding Sources. */ export declare class ProvisionalFundingSourceNotFoundError extends VirtualCardsError { constructor(msg?: string); } /** * The Funding Source is not found. * * The Funding Source attempted to be accessed does not exist or cannot be found. */ export declare class FundingSourceNotFoundError extends VirtualCardsError { constructor(msg?: string); } /** * The Funding Source is not active. * * The Funding Source attempted to be accessed must be active for * the attempted operation. */ export declare class FundingSourceNotActiveError extends VirtualCardsError { constructor(msg?: string); } /** * The Funding Source completion data is invalid. * * The completion data passed to `completeFundingSource` is invalid or corrupted. */ export declare class FundingSourceCompletionDataInvalidError extends VirtualCardsError { constructor(msg?: string); } /** * The Funding Source attempted to be created already exists. */ export declare class DuplicateFundingSourceError extends VirtualCardsError { constructor(msg?: string); } /** * The Funding Source is not acceptable. Please try another method. */ export declare class UnacceptableFundingSourceError extends VirtualCardsError { constructor(msg?: string); } /** * The configuration has not been initialized for the Virtual Cards Client. */ export declare class VirtualCardsServiceConfigNotFoundError extends VirtualCardsError { constructor(msg?: string); } /** * The card was not found on the api operation. */ export declare class CardNotFoundError extends VirtualCardsError { constructor(msg?: string); } /** * The card state was not appropriate for the */ export declare class CardStateError extends VirtualCardsError { constructor(msg?: string); } /** * On funding source creation, the funding source identity information * does match closely enough with information verified during identity * verification. */ export declare class IdentityVerificationNotVerifiedError extends VirtualCardsError { constructor(msg?: string); } /** * Attempts to create the resource have exceeded the allowable * velocity for that resource. */ export declare class VelocityExceededError extends VirtualCardsError { constructor(msg?: string); } /** * Thrown on calls to {@link SudoVirtualCardsClient.completeFundingSource} when * additional authentication interaction is required before funding source * provisioning can complete. * * @property {string} interactionData * Funding source provider specific data required continue the funding * source provisioning process. */ export declare class FundingSourceRequiresUserInteractionError extends VirtualCardsError { readonly interactionData: FundingSourceInteractionData; constructor(interactionData: FundingSourceInteractionData, msg?: string); } export {};