1 | import type { CreditCardType, CreditCardTypeCardBrandId } from "./types";
|
2 | declare function creditCardType(cardNumber: string): Array<CreditCardType>;
|
3 | declare namespace creditCardType {
|
4 | var getTypeInfo: (cardType: string) => CreditCardType;
|
5 | var removeCard: (name: string) => void;
|
6 | var addCard: (config: CreditCardType) => void;
|
7 | var updateCard: (cardType: string, updates: Partial<CreditCardType>) => void;
|
8 | var changeOrder: (name: string, position: number) => void;
|
9 | var resetModifications: () => void;
|
10 | var types: Record<string, CreditCardTypeCardBrandId>;
|
11 | }
|
12 | export = creditCardType;
|