import { isoly } from "isoly"; import { isly as isly2 } from "isly2"; import { Amount } from "../Amount"; import { Realm } from "../Realm"; import type { Rule } from "../Rule"; import { Changeable as CardChangeable } from "./Changeable"; import { Creatable as CardCreatable } from "./Creatable"; import { Expiry as CardExpiry } from "./Expiry"; import { Meta as CardMeta } from "./Meta"; import { Operation as CardOperation } from "./Operation"; import { Preset as CardPreset } from "./Preset"; import { Restriction as CardRestriction } from "./Restriction"; import { Scheme as CardScheme } from "./Scheme"; import { Stack as CardStack } from "./Stack"; export interface Card { id: string; number?: string; created: isoly.DateTime; organization: string; realm: Realm; account: string; preset: CardPreset; scheme: CardScheme; reference: string; details: { iin: string; last4: string; expiry: CardExpiry; holder: string; token?: string; }; limit: Amount; spent: Amount; status: "active" | "cancelled"; history: CardOperation[]; rules: Rule[]; meta?: CardMeta; restricted?: { to?: CardRestriction; }; } export declare namespace Card { export import Creatable = CardCreatable; export import Preset = CardPreset; export import Meta = CardMeta; export import Expiry = CardExpiry; export import Changeable = CardChangeable; export import Operation = CardOperation; export import Scheme = CardScheme; export import Stack = CardStack; export import Restriction = CardRestriction; const type: import("isly/dist/cjs/object").IslyObject; const type2: isly2.Object; function toCsv(cards: Card[]): string; }