import { IObject, ReadIObject } from './interfaces'; export default class CreditCard { static readonly BRAND_VISA: string; static readonly BRAND_MASTERCARD: string; static readonly BRAND_DISCOVER: string; static readonly BRAND_AMEX: string; static readonly BRAND_DINERS_CLUB: string; static readonly BRAND_JCB: string; static readonly BRAND_SWITCH: string; static readonly BRAND_SOLO: string; static readonly BRAND_DANKORT: string; static readonly BRAND_MAESTRO: string; static readonly BRAND_FORBRUGSFORENINGEN: string; static readonly BRAND_LASER: string; private static readonly REGEX_MASTERCARD; protected static readonly ALL_CARDS: ReadIObject; protected _parameters: IObject; constructor(parameters?: IObject); readonly parameters: IObject; initialize(parameters?: IObject): this; static readonly allCards: IObject; /** * Return supported cards in form of {key:regex...} * Particular Gateway may not be supporting all of them */ static readonly supportedCards: IObject; getExpiryDate(format: string): string; number: string; readonly numberLastFour: string; firstName: string; lastName: string; name: string; getNumberMasked(mask?: string): string; readonly brand: string; expiryMonth: number; expiryYear: number; cvv: string; tracks: string; readonly track1: string; readonly track2: string; protected _getTrackByPattern(pattern: RegExp): string; validate(): void; }