import * as gracely from "gracely"; import * as authly from "authly"; import * as model from "@payfunc/model-card"; import { Creatable as VerificationCreatable } from "../../Verification/Creatable"; import { Base } from "./Base"; import { Safe as CSafe } from "./Safe"; export interface Creatable extends Base { card: authly.Token | model.Card.Creatable; } export declare namespace Creatable { function is(value: Creatable | any): value is Creatable; type Safe = CSafe; namespace Safe { const is: typeof CSafe.is; const flaw: typeof CSafe.flaw; } function flaw(value: Base | any): gracely.Flaw; function getAmount(value: Creatable | Creatable.Safe): number; function toVerificationCreatable(value: Creatable.Safe, card: model.Card.Creatable.Safe, verification?: { type: "pares" | "method" | "challenge" | "guard"; data?: string | Record; }): VerificationCreatable.Safe; function toVerificationCreatable(value: Creatable, card: model.Card.Creatable, verification?: { type: "pares" | "method" | "challenge" | "guard"; data?: string | Record; }): VerificationCreatable; }