/** * @since 2.0.0 */ import { Effect } from "effect"; import * as CML from "@anastasia-labs/cardano-multiplatform-lib-nodejs"; /** * Type alias for the CML BigInteger class * * @since 2.0.0 * @category Types */ export type BigInteger = CML.BigInteger; declare const BigIntegerError_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: "BigIntegerError"; } & Readonly; /** * Error class for BigInteger operations * * This error is thrown when operations on BigInteger instances fail. * * @since 2.0.0 * @category Errors */ export declare class BigIntegerError extends BigIntegerError_base<{ message?: string; }> { } /** * Method free of BigInteger * * @since 2.0.0 * @category Methods */ export declare const free: (instance: CML.BigInteger) => Effect.Effect; /** * Unsafely calls instance.free without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const freeUnsafe: (instance: CML.BigInteger) => void; /** * Method toCborBytes of BigInteger * * @since 2.0.0 * @category Methods */ export declare const toCborBytes: (instance: CML.BigInteger) => Effect.Effect; /** * Unsafely calls instance.toCborBytes without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toCborBytesUnsafe: (instance: CML.BigInteger) => Uint8Array; /** * Method toCanonicalCborBytes of BigInteger * * @since 2.0.0 * @category Methods */ export declare const toCanonicalCborBytes: (instance: CML.BigInteger) => Effect.Effect; /** * Unsafely calls instance.toCanonicalCborBytes without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toCanonicalCborBytesUnsafe: (instance: CML.BigInteger) => Uint8Array; /** * Static method fromCborBytes of BigInteger * * @since 2.0.0 * @category Constructors */ export declare const fromCborBytes: (cborBytes: Uint8Array) => Effect.Effect; /** * Unsafely calls BigInteger.fromCborBytes without Effect wrapper * * @since 2.0.0 * @category ConstructorsUnsafe */ export declare const fromCborBytesUnsafe: (cborBytes: Uint8Array) => CML.BigInteger; /** * Method toCborHex of BigInteger * * @since 2.0.0 * @category Methods */ export declare const toCborHex: (instance: CML.BigInteger) => Effect.Effect; /** * Unsafely calls instance.toCborHex without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toCborHexUnsafe: (instance: CML.BigInteger) => string; /** * Method toCanonicalCborHex of BigInteger * * @since 2.0.0 * @category Methods */ export declare const toCanonicalCborHex: (instance: CML.BigInteger) => Effect.Effect; /** * Unsafely calls instance.toCanonicalCborHex without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toCanonicalCborHexUnsafe: (instance: CML.BigInteger) => string; /** * Static method fromCborHex of BigInteger * * @since 2.0.0 * @category Constructors */ export declare const fromCborHex: (cborBytes: string) => Effect.Effect; /** * Unsafely calls BigInteger.fromCborHex without Effect wrapper * * @since 2.0.0 * @category ConstructorsUnsafe */ export declare const fromCborHexUnsafe: (cborBytes: string) => CML.BigInteger; /** * Method toJson of BigInteger * * @since 2.0.0 * @category Methods */ export declare const toJson: (instance: CML.BigInteger) => Effect.Effect; /** * Unsafely calls instance.toJson without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toJsonUnsafe: (instance: CML.BigInteger) => string; /** * Method toJsValue of BigInteger * * @since 2.0.0 * @category Methods */ export declare const toJsValue: (instance: CML.BigInteger) => Effect.Effect; /** * Unsafely calls instance.toJsValue without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toJsValueUnsafe: (instance: CML.BigInteger) => any; /** * Static method fromJson of BigInteger * * @since 2.0.0 * @category Constructors */ export declare const fromJson: (json: string) => Effect.Effect; /** * Unsafely calls BigInteger.fromJson without Effect wrapper * * @since 2.0.0 * @category ConstructorsUnsafe */ export declare const fromJsonUnsafe: (json: string) => CML.BigInteger; /** * Static method fromInt of BigInteger * * @since 2.0.0 * @category Constructors */ export declare const fromInt: (x: CML.Int) => Effect.Effect; /** * Unsafely calls BigInteger.fromInt without Effect wrapper * * @since 2.0.0 * @category ConstructorsUnsafe */ export declare const fromIntUnsafe: (x: CML.Int) => CML.BigInteger; /** * Static method fromStr of BigInteger * * @since 2.0.0 * @category Constructors */ export declare const fromStr: (s: string) => Effect.Effect; /** * Unsafely calls BigInteger.fromStr without Effect wrapper * * @since 2.0.0 * @category ConstructorsUnsafe */ export declare const fromStrUnsafe: (s: string) => CML.BigInteger; /** * Method toStr of BigInteger * * @since 2.0.0 * @category Methods */ export declare const toStr: (instance: CML.BigInteger) => Effect.Effect; /** * Unsafely calls instance.toStr without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toStrUnsafe: (instance: CML.BigInteger) => string; /** * Method asU64 of BigInteger * * @since 2.0.0 * @category Methods */ export declare const asU64: (instance: CML.BigInteger) => Effect.Effect; /** * Unsafely calls instance.asU64 without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const asU64Unsafe: (instance: CML.BigInteger) => bigint | undefined; /** * Method asInt of BigInteger * * @since 2.0.0 * @category Methods */ export declare const asInt: (instance: CML.BigInteger) => Effect.Effect; /** * Unsafely calls instance.asInt without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const asIntUnsafe: (instance: CML.BigInteger) => CML.Int | undefined; export {}; //# sourceMappingURL=BigInteger.d.ts.map