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