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