import { Account } from "../../Account"; import { Preset } from "../../Card/Preset"; import type { Rail } from "../../Rail"; import type { Transaction } from "../../Transaction"; import { Creatable as EntryCreatable } from "./Creatable"; import { Failed as EntryFailed } from "./Failed"; import { fromCreatable } from "./fromCreatable"; import { Succeeded as EntrySucceeded } from "./Succeeded"; import { Summary as EntrySummary } from "./Summary"; export type Entry = EntrySucceeded | EntryFailed; export declare namespace Entry { interface Capture extends EntrySucceeded { type: "capture"; } interface Refund extends EntrySucceeded { type: "refund"; } export import Creatable = EntryCreatable; export import Failed = EntryFailed; export import Succeeded = EntrySucceeded; export import Summary = EntrySummary; const type: import("isly/dist/cjs/Type").Type; const from: typeof fromCreatable; function charge(counterpart: Rail.Address.Card.Counterpart, capture: Creatable.Capture, preset?: Preset, charges?: Account.Charge): Transaction.Amount.Charge; }