import * as gracely from "gracely"; import * as isoly from "isoly"; import { Settlement } from "../Settlement"; import { Creatable as CCreatable } from "./Creatable"; export interface Capture { number?: string; created: isoly.DateTime; reference?: string; approved?: isoly.DateTime; amount: number; auto?: true; settlement?: Settlement.Transaction; descriptor?: string; status: "approved" | "pending" | "settled"; } export declare namespace Capture { function is(value: Capture | any): value is Capture; function flaw(value: Capture | any): gracely.Flaw; type Creatable = CCreatable; namespace Creatable { const is: typeof CCreatable.is; const flaw: typeof CCreatable.flaw; } }