import { Acquirer } from "../../Acquirer"; import { Card as ModelCard } from "../../Card"; import { Merchant } from "../../Merchant"; import type { Rule } from "../../Rule"; export interface Card { type: "card"; scheme: ModelCard.Scheme; id: string; iin: string; last4: string; expiry: ModelCard.Expiry; holder: string; } interface CardCounterpart { type: "card"; merchant: Merchant; acquirer: Acquirer; present?: boolean; approvalCode?: string; } declare namespace CardCounterpart { const type: import("isly/dist/cjs/object").IslyObject; } export declare namespace Card { const currencies: readonly ["EUR", "GBP", "SEK", "USD"]; const type: import("isly/dist/cjs/object").IslyObject; function from(card: ModelCard | Rule.State.Card): Card; const Counterpart: typeof CardCounterpart; type Counterpart = CardCounterpart; } export {};