import { isoly } from "isoly"; import { isly } from "isly"; import { Card } from "../Card"; import { Transaction } from "."; export interface Statistics { capture: Statistics.Regional; refund: Statistics.Regional; cards: string[]; cursor?: string; } export declare namespace Statistics { type TransactionType = (typeof TransactionType.values)[number]; namespace TransactionType { const values: readonly ["capture", "refund"]; } type Region = (typeof Region.values)[number]; namespace Region { const values: readonly ["domestic", "intraRegion", "extraRegion"]; } type Regional = Record; namespace Regional { const type: isly.Type<{ domestic: any; intraRegion: any; extraRegion: any; }>; } const type: import("isly/dist/cjs/object").IslyObject; function compile(transactions: Transaction[], scheme: Card.Scheme, regions: Record<"domestic" | "intraRegion", isoly.CountryCode.Alpha2[]>): Statistics; function combine(accumulation: Statistics, incoming: Statistics, currency: isoly.Currency): Statistics; }