import { isoly } from "isoly"; import { isly } from "isly"; import { Charge } from "./Transaction/Amount/Charge"; export declare namespace fx { interface Quote { id: string; created: isoly.DateTime; expires: isoly.DateTime; account: { id: string; fx: { markup: number; }; }; fixed: Quote.Fixed; from: { amount: number; currency: isoly.Currency; }; to: { amount: number; currency: isoly.Currency; }; rate: { base: number; markup: number; effective: number; }; } namespace Quote { type Fixed = (typeof Fixed.values)[number]; namespace Fixed { const values: readonly ["from", "to"]; const type: isly.Type<"from" | "to">; } type Creatable = Creatable.From | Creatable.To; namespace Creatable { interface From { from: { amount: number; currency: isoly.Currency; }; to: isoly.Currency; } namespace From { const type: import("isly/dist/cjs/object").IslyObject; } interface To { from: isoly.Currency; to: { amount: number; currency: isoly.Currency; }; } namespace To { const type: import("isly/dist/cjs/object").IslyObject; } const type: isly.Type; } function toCharge(quote: Quote): Charge | undefined; } const type: import("isly/dist/cjs/object").IslyObject; }