/** * @since 2.0.0 */ import { Effect } from "effect"; import * as CML from "@anastasia-labs/cardano-multiplatform-lib-nodejs"; /** * Type alias for the CML StakeDistribution class * * @since 2.0.0 * @category Types */ export type StakeDistribution = CML.StakeDistribution; declare const StakeDistributionError_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: "StakeDistributionError"; } & Readonly; /** * Error class for StakeDistribution operations * * This error is thrown when operations on StakeDistribution instances fail. * * @since 2.0.0 * @category Errors */ export declare class StakeDistributionError extends StakeDistributionError_base<{ message?: string; }> { } /** * Method free of StakeDistribution * * @since 2.0.0 * @category Methods */ export declare const free: (instance: CML.StakeDistribution) => Effect.Effect; /** * Unsafely calls instance.free without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const freeUnsafe: (instance: CML.StakeDistribution) => void; /** * Method toCborBytes of StakeDistribution * * @since 2.0.0 * @category Methods */ export declare const toCborBytes: (instance: CML.StakeDistribution) => Effect.Effect; /** * Unsafely calls instance.toCborBytes without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toCborBytesUnsafe: (instance: CML.StakeDistribution) => Uint8Array; /** * Static method fromCborBytes of StakeDistribution * * @since 2.0.0 * @category Constructors */ export declare const fromCborBytes: (cborBytes: Uint8Array) => Effect.Effect; /** * Unsafely calls StakeDistribution.fromCborBytes without Effect wrapper * * @since 2.0.0 * @category ConstructorsUnsafe */ export declare const fromCborBytesUnsafe: (cborBytes: Uint8Array) => CML.StakeDistribution; /** * Method toCborHex of StakeDistribution * * @since 2.0.0 * @category Methods */ export declare const toCborHex: (instance: CML.StakeDistribution) => Effect.Effect; /** * Unsafely calls instance.toCborHex without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toCborHexUnsafe: (instance: CML.StakeDistribution) => string; /** * Static method fromCborHex of StakeDistribution * * @since 2.0.0 * @category Constructors */ export declare const fromCborHex: (cborBytes: string) => Effect.Effect; /** * Unsafely calls StakeDistribution.fromCborHex without Effect wrapper * * @since 2.0.0 * @category ConstructorsUnsafe */ export declare const fromCborHexUnsafe: (cborBytes: string) => CML.StakeDistribution; /** * Static method newSingleKey of StakeDistribution * * @since 2.0.0 * @category Constructors */ export declare const newSingleKey: (stakeholderId: CML.StakeholderId) => Effect.Effect; /** * Unsafely calls StakeDistribution.newSingleKey without Effect wrapper * * @since 2.0.0 * @category ConstructorsUnsafe */ export declare const newSingleKeyUnsafe: (stakeholderId: CML.StakeholderId) => CML.StakeDistribution; /** * Static method newBootstrapEra of StakeDistribution * * @since 2.0.0 * @category Constructors */ export declare const newBootstrapEra: () => Effect.Effect; /** * Unsafely calls StakeDistribution.newBootstrapEra without Effect wrapper * * @since 2.0.0 * @category ConstructorsUnsafe */ export declare const newBootstrapEraUnsafe: () => CML.StakeDistribution; /** * Method kind of StakeDistribution * * @since 2.0.0 * @category Methods */ export declare const kind: (instance: CML.StakeDistribution) => Effect.Effect; /** * Unsafely calls instance.kind without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const kindUnsafe: (instance: CML.StakeDistribution) => CML.StakeDistributionKind; /** * Method asSingleKey of StakeDistribution * * @since 2.0.0 * @category Methods */ export declare const asSingleKey: (instance: CML.StakeDistribution) => Effect.Effect; /** * Unsafely calls instance.asSingleKey without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const asSingleKeyUnsafe: (instance: CML.StakeDistribution) => CML.StakeholderId | undefined; export {}; //# sourceMappingURL=StakeDistribution.d.ts.map