/** * @since 2.0.0 */ import { Effect } from "effect"; import * as CML from "@anastasia-labs/cardano-multiplatform-lib-nodejs"; /** * Type alias for the CML GenesisHash class * * @since 2.0.0 * @category Types */ export type GenesisHash = CML.GenesisHash; declare const GenesisHashError_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: "GenesisHashError"; } & Readonly; /** * Error class for GenesisHash operations * * This error is thrown when operations on GenesisHash instances fail. * * @since 2.0.0 * @category Errors */ export declare class GenesisHashError extends GenesisHashError_base<{ message?: string; }> { } /** * Method free of GenesisHash * * @since 2.0.0 * @category Methods */ export declare const free: (instance: CML.GenesisHash) => Effect.Effect; /** * Unsafely calls instance.free without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const freeUnsafe: (instance: CML.GenesisHash) => void; /** * Method toBech32 of GenesisHash * * @since 2.0.0 * @category Methods */ export declare const toBech32: (instance: CML.GenesisHash, prefix: string) => Effect.Effect; /** * Unsafely calls instance.toBech32 without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toBech32Unsafe: (instance: CML.GenesisHash, prefix: string) => string; /** * Static method fromBech32 of GenesisHash * * @since 2.0.0 * @category Constructors */ export declare const fromBech32: (bech32Str: string) => Effect.Effect; /** * Unsafely calls GenesisHash.fromBech32 without Effect wrapper * * @since 2.0.0 * @category ConstructorsUnsafe */ export declare const fromBech32Unsafe: (bech32Str: string) => CML.GenesisHash; /** * Method toRawBytes of GenesisHash * * @since 2.0.0 * @category Methods */ export declare const toRawBytes: (instance: CML.GenesisHash) => Effect.Effect; /** * Unsafely calls instance.toRawBytes without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toRawBytesUnsafe: (instance: CML.GenesisHash) => Uint8Array; /** * Static method fromRawBytes of GenesisHash * * @since 2.0.0 * @category Constructors */ export declare const fromRawBytes: (bytes: Uint8Array) => Effect.Effect; /** * Unsafely calls GenesisHash.fromRawBytes without Effect wrapper * * @since 2.0.0 * @category ConstructorsUnsafe */ export declare const fromRawBytesUnsafe: (bytes: Uint8Array) => CML.GenesisHash; /** * Method toHex of GenesisHash * * @since 2.0.0 * @category Methods */ export declare const toHex: (instance: CML.GenesisHash) => Effect.Effect; /** * Unsafely calls instance.toHex without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toHexUnsafe: (instance: CML.GenesisHash) => string; /** * Static method fromHex of GenesisHash * * @since 2.0.0 * @category Constructors */ export declare const fromHex: (input: string) => Effect.Effect; /** * Unsafely calls GenesisHash.fromHex without Effect wrapper * * @since 2.0.0 * @category ConstructorsUnsafe */ export declare const fromHexUnsafe: (input: string) => CML.GenesisHash; export {}; //# sourceMappingURL=GenesisHash.d.ts.map