/** * @since 2.0.0 */ import { Effect } from "effect"; import * as CML from "@anastasia-labs/cardano-multiplatform-lib-nodejs"; /** * Type alias for the CML Int class * * @since 2.0.0 * @category Types */ export type Int = CML.Int; declare const IntError_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: "IntError"; } & Readonly; /** * Error class for Int operations * * This error is thrown when operations on Int instances fail. * * @since 2.0.0 * @category Errors */ export declare class IntError extends IntError_base<{ message?: string; }> { } /** * Method free of Int * * @since 2.0.0 * @category Methods */ export declare const free: (instance: CML.Int) => Effect.Effect; /** * Unsafely calls instance.free without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const freeUnsafe: (instance: CML.Int) => void; /** * Method toCborBytes of Int * * @since 2.0.0 * @category Methods */ export declare const toCborBytes: (instance: CML.Int) => Effect.Effect; /** * Unsafely calls instance.toCborBytes without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toCborBytesUnsafe: (instance: CML.Int) => Uint8Array; /** * Static method fromCborBytes of Int * * @since 2.0.0 * @category Constructors */ export declare const fromCborBytes: (cborBytes: Uint8Array) => Effect.Effect; /** * Unsafely calls Int.fromCborBytes without Effect wrapper * * @since 2.0.0 * @category ConstructorsUnsafe */ export declare const fromCborBytesUnsafe: (cborBytes: Uint8Array) => CML.Int; /** * Method toJson of Int * * @since 2.0.0 * @category Methods */ export declare const toJson: (instance: CML.Int) => Effect.Effect; /** * Unsafely calls instance.toJson without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toJsonUnsafe: (instance: CML.Int) => string; /** * Method toJsonValue of Int * * @since 2.0.0 * @category Methods */ export declare const toJsonValue: (instance: CML.Int) => Effect.Effect; /** * Unsafely calls instance.toJsonValue without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toJsonValueUnsafe: (instance: CML.Int) => any; /** * Static method fromJson of Int * * @since 2.0.0 * @category Constructors */ export declare const fromJson: (json: string) => Effect.Effect; /** * Unsafely calls Int.fromJson without Effect wrapper * * @since 2.0.0 * @category ConstructorsUnsafe */ export declare const fromJsonUnsafe: (json: string) => CML.Int; /** * Static method _new of Int * * @since 2.0.0 * @category Constructors */ export declare const _new: (x: bigint) => Effect.Effect; /** * Unsafely calls Int._new without Effect wrapper * * @since 2.0.0 * @category ConstructorsUnsafe */ export declare const _newUnsafe: (x: bigint) => CML.Int; /** * Method toStr of Int * * @since 2.0.0 * @category Methods */ export declare const toStr: (instance: CML.Int) => Effect.Effect; /** * Unsafely calls instance.toStr without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toStrUnsafe: (instance: CML.Int) => string; /** * Static method fromStr of Int * * @since 2.0.0 * @category Constructors */ export declare const fromStr: (string: string) => Effect.Effect; /** * Unsafely calls Int.fromStr without Effect wrapper * * @since 2.0.0 * @category ConstructorsUnsafe */ export declare const fromStrUnsafe: (string: string) => CML.Int; export {}; //# sourceMappingURL=Int.d.ts.map