/**
* @since 2.0.0
*/
import { Effect } from "effect";
import * as CML from "@anastasia-labs/cardano-multiplatform-lib-nodejs";
/**
* Type alias for the CML StakeDelegation class
*
* @since 2.0.0
* @category Types
*/
export type StakeDelegation = CML.StakeDelegation;
declare const StakeDelegationError_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: "StakeDelegationError";
} & Readonly;
/**
* Error class for StakeDelegation operations
*
* This error is thrown when operations on StakeDelegation instances fail.
*
* @since 2.0.0
* @category Errors
*/
export declare class StakeDelegationError extends StakeDelegationError_base<{
message?: string;
}> {
}
/**
* Method free of StakeDelegation
*
* @since 2.0.0
* @category Methods
*/
export declare const free: (instance: CML.StakeDelegation) => Effect.Effect;
/**
* Unsafely calls instance.free without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const freeUnsafe: (instance: CML.StakeDelegation) => void;
/**
* Method toCborBytes of StakeDelegation
*
* @since 2.0.0
* @category Methods
*/
export declare const toCborBytes: (instance: CML.StakeDelegation) => Effect.Effect;
/**
* Unsafely calls instance.toCborBytes without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toCborBytesUnsafe: (instance: CML.StakeDelegation) => Uint8Array;
/**
* Method toCanonicalCborBytes of StakeDelegation
*
* @since 2.0.0
* @category Methods
*/
export declare const toCanonicalCborBytes: (instance: CML.StakeDelegation) => Effect.Effect;
/**
* Unsafely calls instance.toCanonicalCborBytes without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toCanonicalCborBytesUnsafe: (instance: CML.StakeDelegation) => Uint8Array;
/**
* Static method fromCborBytes of StakeDelegation
*
* @since 2.0.0
* @category Constructors
*/
export declare const fromCborBytes: (cborBytes: Uint8Array) => Effect.Effect;
/**
* Unsafely calls StakeDelegation.fromCborBytes without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const fromCborBytesUnsafe: (cborBytes: Uint8Array) => CML.StakeDelegation;
/**
* Method toCborHex of StakeDelegation
*
* @since 2.0.0
* @category Methods
*/
export declare const toCborHex: (instance: CML.StakeDelegation) => Effect.Effect;
/**
* Unsafely calls instance.toCborHex without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toCborHexUnsafe: (instance: CML.StakeDelegation) => string;
/**
* Method toCanonicalCborHex of StakeDelegation
*
* @since 2.0.0
* @category Methods
*/
export declare const toCanonicalCborHex: (instance: CML.StakeDelegation) => Effect.Effect;
/**
* Unsafely calls instance.toCanonicalCborHex without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toCanonicalCborHexUnsafe: (instance: CML.StakeDelegation) => string;
/**
* Static method fromCborHex of StakeDelegation
*
* @since 2.0.0
* @category Constructors
*/
export declare const fromCborHex: (cborBytes: string) => Effect.Effect;
/**
* Unsafely calls StakeDelegation.fromCborHex without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const fromCborHexUnsafe: (cborBytes: string) => CML.StakeDelegation;
/**
* Method toJson of StakeDelegation
*
* @since 2.0.0
* @category Methods
*/
export declare const toJson: (instance: CML.StakeDelegation) => Effect.Effect;
/**
* Unsafely calls instance.toJson without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toJsonUnsafe: (instance: CML.StakeDelegation) => string;
/**
* Method toJsValue of StakeDelegation
*
* @since 2.0.0
* @category Methods
*/
export declare const toJsValue: (instance: CML.StakeDelegation) => Effect.Effect;
/**
* Unsafely calls instance.toJsValue without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toJsValueUnsafe: (instance: CML.StakeDelegation) => any;
/**
* Static method fromJson of StakeDelegation
*
* @since 2.0.0
* @category Constructors
*/
export declare const fromJson: (json: string) => Effect.Effect;
/**
* Unsafely calls StakeDelegation.fromJson without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const fromJsonUnsafe: (json: string) => CML.StakeDelegation;
/**
* Method stakeCredential of StakeDelegation
*
* @since 2.0.0
* @category Methods
*/
export declare const stakeCredential: (instance: CML.StakeDelegation) => Effect.Effect;
/**
* Unsafely calls instance.stakeCredential without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const stakeCredentialUnsafe: (instance: CML.StakeDelegation) => CML.Credential;
/**
* Method pool of StakeDelegation
*
* @since 2.0.0
* @category Methods
*/
export declare const pool: (instance: CML.StakeDelegation) => Effect.Effect;
/**
* Unsafely calls instance.pool without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const poolUnsafe: (instance: CML.StakeDelegation) => CML.Ed25519KeyHash;
/**
* Static method _new of StakeDelegation
*
* @since 2.0.0
* @category Constructors
*/
export declare const _new: (stakeCredential: CML.Credential, pool: CML.Ed25519KeyHash) => Effect.Effect;
/**
* Unsafely calls StakeDelegation._new without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const _newUnsafe: (stakeCredential: CML.Credential, pool: CML.Ed25519KeyHash) => CML.StakeDelegation;
export {};
//# sourceMappingURL=StakeDelegation.d.ts.map