import { isly } from "isly"; import { Base as WarningBase } from "./Base"; import { Issue as WarningIssue } from "./Issue"; import { Settlement as WarningSettlement } from "./Settlement"; import { Snapshot as WarningSnapshot } from "./Snapshot"; export type Warning = Warning.Snapshot | Warning.Settlement; export declare namespace Warning { export import Snapshot = WarningSnapshot; export import Settlement = WarningSettlement; export import Base = WarningBase; export import Issue = WarningIssue; namespace Type { type Snapshot = WarningSnapshot["type"]; const Snapshot: isly.Type<"overdraft" | "delta-fiat" | "missing-buffer" | "missing-emoney" | "missing-fiat" | "stale-fiat">; type Settlement = WarningSettlement["type"]; const Settlement: isly.Type<"missing-file" | "negative-amount" | "unknown-entry">; } const type: isly.Type; }