/** * @since 2.0.0 */ import { Effect } from "effect"; import * as CML from "@anastasia-labs/cardano-multiplatform-lib-nodejs"; /** * Type alias for the CML Anchor class * * @since 2.0.0 * @category Types */ export type Anchor = CML.Anchor; declare const AnchorError_base: new = {}>(args: import("effect/Types").Equals extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & { readonly _tag: "AnchorError"; } & Readonly; /** * Error class for Anchor operations * * This error is thrown when operations on Anchor instances fail. * * @since 2.0.0 * @category Errors */ export declare class AnchorError extends AnchorError_base<{ message?: string; }> { } /** * Method free of Anchor * * @since 2.0.0 * @category Methods */ export declare const free: (instance: CML.Anchor) => Effect.Effect; /** * Unsafely calls instance.free without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const freeUnsafe: (instance: CML.Anchor) => void; /** * Method toCborBytes of Anchor * * @since 2.0.0 * @category Methods */ export declare const toCborBytes: (instance: CML.Anchor) => Effect.Effect; /** * Unsafely calls instance.toCborBytes without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toCborBytesUnsafe: (instance: CML.Anchor) => Uint8Array; /** * Method toCanonicalCborBytes of Anchor * * @since 2.0.0 * @category Methods */ export declare const toCanonicalCborBytes: (instance: CML.Anchor) => Effect.Effect; /** * Unsafely calls instance.toCanonicalCborBytes without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toCanonicalCborBytesUnsafe: (instance: CML.Anchor) => Uint8Array; /** * Static method fromCborBytes of Anchor * * @since 2.0.0 * @category Constructors */ export declare const fromCborBytes: (cborBytes: Uint8Array) => Effect.Effect; /** * Unsafely calls Anchor.fromCborBytes without Effect wrapper * * @since 2.0.0 * @category ConstructorsUnsafe */ export declare const fromCborBytesUnsafe: (cborBytes: Uint8Array) => CML.Anchor; /** * Method toCborHex of Anchor * * @since 2.0.0 * @category Methods */ export declare const toCborHex: (instance: CML.Anchor) => Effect.Effect; /** * Unsafely calls instance.toCborHex without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toCborHexUnsafe: (instance: CML.Anchor) => string; /** * Method toCanonicalCborHex of Anchor * * @since 2.0.0 * @category Methods */ export declare const toCanonicalCborHex: (instance: CML.Anchor) => Effect.Effect; /** * Unsafely calls instance.toCanonicalCborHex without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toCanonicalCborHexUnsafe: (instance: CML.Anchor) => string; /** * Static method fromCborHex of Anchor * * @since 2.0.0 * @category Constructors */ export declare const fromCborHex: (cborBytes: string) => Effect.Effect; /** * Unsafely calls Anchor.fromCborHex without Effect wrapper * * @since 2.0.0 * @category ConstructorsUnsafe */ export declare const fromCborHexUnsafe: (cborBytes: string) => CML.Anchor; /** * Method toJson of Anchor * * @since 2.0.0 * @category Methods */ export declare const toJson: (instance: CML.Anchor) => Effect.Effect; /** * Unsafely calls instance.toJson without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toJsonUnsafe: (instance: CML.Anchor) => string; /** * Method toJsValue of Anchor * * @since 2.0.0 * @category Methods */ export declare const toJsValue: (instance: CML.Anchor) => Effect.Effect; /** * Unsafely calls instance.toJsValue without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toJsValueUnsafe: (instance: CML.Anchor) => any; /** * Static method fromJson of Anchor * * @since 2.0.0 * @category Constructors */ export declare const fromJson: (json: string) => Effect.Effect; /** * Unsafely calls Anchor.fromJson without Effect wrapper * * @since 2.0.0 * @category ConstructorsUnsafe */ export declare const fromJsonUnsafe: (json: string) => CML.Anchor; /** * Method anchorUrl of Anchor * * @since 2.0.0 * @category Methods */ export declare const anchorUrl: (instance: CML.Anchor) => Effect.Effect; /** * Unsafely calls instance.anchorUrl without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const anchorUrlUnsafe: (instance: CML.Anchor) => CML.Url; /** * Method anchorDocHash of Anchor * * @since 2.0.0 * @category Methods */ export declare const anchorDocHash: (instance: CML.Anchor) => Effect.Effect; /** * Unsafely calls instance.anchorDocHash without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const anchorDocHashUnsafe: (instance: CML.Anchor) => CML.AnchorDocHash; /** * Static method _new of Anchor * * @since 2.0.0 * @category Constructors */ export declare const _new: (anchorUrl: CML.Url, anchorDocHash: CML.AnchorDocHash) => Effect.Effect; /** * Unsafely calls Anchor._new without Effect wrapper * * @since 2.0.0 * @category ConstructorsUnsafe */ export declare const _newUnsafe: (anchorUrl: CML.Url, anchorDocHash: CML.AnchorDocHash) => CML.Anchor; export {}; //# sourceMappingURL=Anchor.d.ts.map