/** * @since 2.0.0 */ import { Effect } from "effect"; import * as CML from "@anastasia-labs/cardano-multiplatform-lib-nodejs"; /** * Type alias for the CML ProtocolMagic class * * @since 2.0.0 * @category Types */ export type ProtocolMagic = CML.ProtocolMagic; declare const ProtocolMagicError_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: "ProtocolMagicError"; } & Readonly; /** * Error class for ProtocolMagic operations * * This error is thrown when operations on ProtocolMagic instances fail. * * @since 2.0.0 * @category Errors */ export declare class ProtocolMagicError extends ProtocolMagicError_base<{ message?: string; }> { } /** * Method free of ProtocolMagic * * @since 2.0.0 * @category Methods */ export declare const free: (instance: CML.ProtocolMagic) => Effect.Effect; /** * Unsafely calls instance.free without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const freeUnsafe: (instance: CML.ProtocolMagic) => void; /** * Static method _new of ProtocolMagic * * @since 2.0.0 * @category Constructors */ export declare const _new: (pm: number) => Effect.Effect; /** * Unsafely calls ProtocolMagic._new without Effect wrapper * * @since 2.0.0 * @category ConstructorsUnsafe */ export declare const _newUnsafe: (pm: number) => CML.ProtocolMagic; /** * Method toInt of ProtocolMagic * * @since 2.0.0 * @category Methods */ export declare const toInt: (instance: CML.ProtocolMagic) => Effect.Effect; /** * Unsafely calls instance.toInt without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toIntUnsafe: (instance: CML.ProtocolMagic) => number; export {}; //# sourceMappingURL=ProtocolMagic.d.ts.map