/**
* @since 2.0.0
*/
import { Effect } from "effect";
import * as CML from "@anastasia-labs/cardano-multiplatform-lib-nodejs";
/**
* Type alias for the CML Voter class
*
* @since 2.0.0
* @category Types
*/
export type Voter = CML.Voter;
declare const VoterError_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: "VoterError";
} & Readonly;
/**
* Error class for Voter operations
*
* This error is thrown when operations on Voter instances fail.
*
* @since 2.0.0
* @category Errors
*/
export declare class VoterError extends VoterError_base<{
message?: string;
}> {
}
/**
* Method free of Voter
*
* @since 2.0.0
* @category Methods
*/
export declare const free: (instance: CML.Voter) => Effect.Effect;
/**
* Unsafely calls instance.free without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const freeUnsafe: (instance: CML.Voter) => void;
/**
* Method keyHash of Voter
*
* @since 2.0.0
* @category Methods
*/
export declare const keyHash: (instance: CML.Voter) => Effect.Effect;
/**
* Unsafely calls instance.keyHash without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const keyHashUnsafe: (instance: CML.Voter) => CML.Ed25519KeyHash | undefined;
/**
* Method scriptHash of Voter
*
* @since 2.0.0
* @category Methods
*/
export declare const scriptHash: (instance: CML.Voter) => Effect.Effect;
/**
* Unsafely calls instance.scriptHash without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const scriptHashUnsafe: (instance: CML.Voter) => CML.ScriptHash | undefined;
/**
* Method toCborBytes of Voter
*
* @since 2.0.0
* @category Methods
*/
export declare const toCborBytes: (instance: CML.Voter) => Effect.Effect;
/**
* Unsafely calls instance.toCborBytes without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toCborBytesUnsafe: (instance: CML.Voter) => Uint8Array;
/**
* Method toCanonicalCborBytes of Voter
*
* @since 2.0.0
* @category Methods
*/
export declare const toCanonicalCborBytes: (instance: CML.Voter) => Effect.Effect;
/**
* Unsafely calls instance.toCanonicalCborBytes without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toCanonicalCborBytesUnsafe: (instance: CML.Voter) => Uint8Array;
/**
* Static method fromCborBytes of Voter
*
* @since 2.0.0
* @category Constructors
*/
export declare const fromCborBytes: (cborBytes: Uint8Array) => Effect.Effect;
/**
* Unsafely calls Voter.fromCborBytes without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const fromCborBytesUnsafe: (cborBytes: Uint8Array) => CML.Voter;
/**
* Method toCborHex of Voter
*
* @since 2.0.0
* @category Methods
*/
export declare const toCborHex: (instance: CML.Voter) => Effect.Effect;
/**
* Unsafely calls instance.toCborHex without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toCborHexUnsafe: (instance: CML.Voter) => string;
/**
* Method toCanonicalCborHex of Voter
*
* @since 2.0.0
* @category Methods
*/
export declare const toCanonicalCborHex: (instance: CML.Voter) => Effect.Effect;
/**
* Unsafely calls instance.toCanonicalCborHex without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toCanonicalCborHexUnsafe: (instance: CML.Voter) => string;
/**
* Static method fromCborHex of Voter
*
* @since 2.0.0
* @category Constructors
*/
export declare const fromCborHex: (cborBytes: string) => Effect.Effect;
/**
* Unsafely calls Voter.fromCborHex without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const fromCborHexUnsafe: (cborBytes: string) => CML.Voter;
/**
* Method toJson of Voter
*
* @since 2.0.0
* @category Methods
*/
export declare const toJson: (instance: CML.Voter) => Effect.Effect;
/**
* Unsafely calls instance.toJson without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toJsonUnsafe: (instance: CML.Voter) => string;
/**
* Method toJsValue of Voter
*
* @since 2.0.0
* @category Methods
*/
export declare const toJsValue: (instance: CML.Voter) => Effect.Effect;
/**
* Unsafely calls instance.toJsValue without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toJsValueUnsafe: (instance: CML.Voter) => any;
/**
* Static method fromJson of Voter
*
* @since 2.0.0
* @category Constructors
*/
export declare const fromJson: (json: string) => Effect.Effect;
/**
* Unsafely calls Voter.fromJson without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const fromJsonUnsafe: (json: string) => CML.Voter;
/**
* Static method newConstitutionalCommitteeHotKeyHash of Voter
*
* @since 2.0.0
* @category Constructors
*/
export declare const newConstitutionalCommitteeHotKeyHash: (ed25519KeyHash: CML.Ed25519KeyHash) => Effect.Effect;
/**
* Unsafely calls Voter.newConstitutionalCommitteeHotKeyHash without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const newConstitutionalCommitteeHotKeyHashUnsafe: (ed25519KeyHash: CML.Ed25519KeyHash) => CML.Voter;
/**
* Static method newConstitutionalCommitteeHotScriptHash of Voter
*
* @since 2.0.0
* @category Constructors
*/
export declare const newConstitutionalCommitteeHotScriptHash: (scriptHash: CML.ScriptHash) => Effect.Effect;
/**
* Unsafely calls Voter.newConstitutionalCommitteeHotScriptHash without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const newConstitutionalCommitteeHotScriptHashUnsafe: (scriptHash: CML.ScriptHash) => CML.Voter;
/**
* Static method newDRepKeyHash of Voter
*
* @since 2.0.0
* @category Constructors
*/
export declare const newDRepKeyHash: (ed25519KeyHash: CML.Ed25519KeyHash) => Effect.Effect;
/**
* Unsafely calls Voter.newDRepKeyHash without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const newDRepKeyHashUnsafe: (ed25519KeyHash: CML.Ed25519KeyHash) => CML.Voter;
/**
* Static method newDRepScriptHash of Voter
*
* @since 2.0.0
* @category Constructors
*/
export declare const newDRepScriptHash: (scriptHash: CML.ScriptHash) => Effect.Effect;
/**
* Unsafely calls Voter.newDRepScriptHash without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const newDRepScriptHashUnsafe: (scriptHash: CML.ScriptHash) => CML.Voter;
/**
* Static method newStakingPoolKeyHash of Voter
*
* @since 2.0.0
* @category Constructors
*/
export declare const newStakingPoolKeyHash: (ed25519KeyHash: CML.Ed25519KeyHash) => Effect.Effect;
/**
* Unsafely calls Voter.newStakingPoolKeyHash without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const newStakingPoolKeyHashUnsafe: (ed25519KeyHash: CML.Ed25519KeyHash) => CML.Voter;
/**
* Method kind of Voter
*
* @since 2.0.0
* @category Methods
*/
export declare const kind: (instance: CML.Voter) => Effect.Effect;
/**
* Unsafely calls instance.kind without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const kindUnsafe: (instance: CML.Voter) => CML.VoterKind;
/**
* Method asConstitutionalCommitteeHotKeyHash of Voter
*
* @since 2.0.0
* @category Methods
*/
export declare const asConstitutionalCommitteeHotKeyHash: (instance: CML.Voter) => Effect.Effect;
/**
* Unsafely calls instance.asConstitutionalCommitteeHotKeyHash without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const asConstitutionalCommitteeHotKeyHashUnsafe: (instance: CML.Voter) => CML.Ed25519KeyHash | undefined;
/**
* Method asConstitutionalCommitteeHotScriptHash of Voter
*
* @since 2.0.0
* @category Methods
*/
export declare const asConstitutionalCommitteeHotScriptHash: (instance: CML.Voter) => Effect.Effect;
/**
* Unsafely calls instance.asConstitutionalCommitteeHotScriptHash without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const asConstitutionalCommitteeHotScriptHashUnsafe: (instance: CML.Voter) => CML.ScriptHash | undefined;
/**
* Method asDRepKeyHash of Voter
*
* @since 2.0.0
* @category Methods
*/
export declare const asDRepKeyHash: (instance: CML.Voter) => Effect.Effect;
/**
* Unsafely calls instance.asDRepKeyHash without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const asDRepKeyHashUnsafe: (instance: CML.Voter) => CML.Ed25519KeyHash | undefined;
/**
* Method asDRepScriptHash of Voter
*
* @since 2.0.0
* @category Methods
*/
export declare const asDRepScriptHash: (instance: CML.Voter) => Effect.Effect;
/**
* Unsafely calls instance.asDRepScriptHash without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const asDRepScriptHashUnsafe: (instance: CML.Voter) => CML.ScriptHash | undefined;
/**
* Method asStakingPoolKeyHash of Voter
*
* @since 2.0.0
* @category Methods
*/
export declare const asStakingPoolKeyHash: (instance: CML.Voter) => Effect.Effect;
/**
* Unsafely calls instance.asStakingPoolKeyHash without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const asStakingPoolKeyHashUnsafe: (instance: CML.Voter) => CML.Ed25519KeyHash | undefined;
export {};
//# sourceMappingURL=Voter.d.ts.map