import * as gracely from "gracely"; import * as isoly from "isoly"; import * as authly from "authly"; import { Capture } from "../../Capture"; import { Refund } from "../../Refund"; import { Change } from "../Change"; import { Creatable as OperationCreatable } from "./Creatable"; export interface Operation { id: authly.Identifier; change?: Change | gracely.Error; capture?: Capture | gracely.Error; refund?: Refund | gracely.Error; void?: isoly.DateTime | gracely.Error; } export declare namespace Operation { function is(value: any | Operation): value is Operation; type Creatable = OperationCreatable; namespace Creatable { const is: typeof OperationCreatable.is; } }