/**
* @since 2.0.0
*/
import { Effect } from "effect";
import * as CML from "@anastasia-labs/cardano-multiplatform-lib-nodejs";
/**
* Type alias for the CML Nonce class
*
* @since 2.0.0
* @category Types
*/
export type Nonce = CML.Nonce;
declare const NonceError_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: "NonceError";
} & Readonly;
/**
* Error class for Nonce operations
*
* This error is thrown when operations on Nonce instances fail.
*
* @since 2.0.0
* @category Errors
*/
export declare class NonceError extends NonceError_base<{
message?: string;
}> {
}
/**
* Method free of Nonce
*
* @since 2.0.0
* @category Methods
*/
export declare const free: (instance: CML.Nonce) => Effect.Effect;
/**
* Unsafely calls instance.free without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const freeUnsafe: (instance: CML.Nonce) => void;
/**
* Method toCborBytes of Nonce
*
* @since 2.0.0
* @category Methods
*/
export declare const toCborBytes: (instance: CML.Nonce) => Effect.Effect;
/**
* Unsafely calls instance.toCborBytes without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toCborBytesUnsafe: (instance: CML.Nonce) => Uint8Array;
/**
* Method toCanonicalCborBytes of Nonce
*
* @since 2.0.0
* @category Methods
*/
export declare const toCanonicalCborBytes: (instance: CML.Nonce) => Effect.Effect;
/**
* Unsafely calls instance.toCanonicalCborBytes without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toCanonicalCborBytesUnsafe: (instance: CML.Nonce) => Uint8Array;
/**
* Static method fromCborBytes of Nonce
*
* @since 2.0.0
* @category Constructors
*/
export declare const fromCborBytes: (cborBytes: Uint8Array) => Effect.Effect;
/**
* Unsafely calls Nonce.fromCborBytes without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const fromCborBytesUnsafe: (cborBytes: Uint8Array) => CML.Nonce;
/**
* Method toCborHex of Nonce
*
* @since 2.0.0
* @category Methods
*/
export declare const toCborHex: (instance: CML.Nonce) => Effect.Effect;
/**
* Unsafely calls instance.toCborHex without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toCborHexUnsafe: (instance: CML.Nonce) => string;
/**
* Method toCanonicalCborHex of Nonce
*
* @since 2.0.0
* @category Methods
*/
export declare const toCanonicalCborHex: (instance: CML.Nonce) => Effect.Effect;
/**
* Unsafely calls instance.toCanonicalCborHex without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toCanonicalCborHexUnsafe: (instance: CML.Nonce) => string;
/**
* Static method fromCborHex of Nonce
*
* @since 2.0.0
* @category Constructors
*/
export declare const fromCborHex: (cborBytes: string) => Effect.Effect;
/**
* Unsafely calls Nonce.fromCborHex without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const fromCborHexUnsafe: (cborBytes: string) => CML.Nonce;
/**
* Method toJson of Nonce
*
* @since 2.0.0
* @category Methods
*/
export declare const toJson: (instance: CML.Nonce) => Effect.Effect;
/**
* Unsafely calls instance.toJson without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toJsonUnsafe: (instance: CML.Nonce) => string;
/**
* Method toJsValue of Nonce
*
* @since 2.0.0
* @category Methods
*/
export declare const toJsValue: (instance: CML.Nonce) => Effect.Effect;
/**
* Unsafely calls instance.toJsValue without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toJsValueUnsafe: (instance: CML.Nonce) => any;
/**
* Static method fromJson of Nonce
*
* @since 2.0.0
* @category Constructors
*/
export declare const fromJson: (json: string) => Effect.Effect;
/**
* Unsafely calls Nonce.fromJson without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const fromJsonUnsafe: (json: string) => CML.Nonce;
/**
* Static method newIdentity of Nonce
*
* @since 2.0.0
* @category Constructors
*/
export declare const newIdentity: () => Effect.Effect;
/**
* Unsafely calls Nonce.newIdentity without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const newIdentityUnsafe: () => CML.Nonce;
/**
* Static method newHash of Nonce
*
* @since 2.0.0
* @category Constructors
*/
export declare const newHash: (hash: CML.NonceHash) => Effect.Effect;
/**
* Unsafely calls Nonce.newHash without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const newHashUnsafe: (hash: CML.NonceHash) => CML.Nonce;
/**
* Method kind of Nonce
*
* @since 2.0.0
* @category Methods
*/
export declare const kind: (instance: CML.Nonce) => Effect.Effect;
/**
* Unsafely calls instance.kind without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const kindUnsafe: (instance: CML.Nonce) => CML.NonceKind;
/**
* Method asHash of Nonce
*
* @since 2.0.0
* @category Methods
*/
export declare const asHash: (instance: CML.Nonce) => Effect.Effect;
/**
* Unsafely calls instance.asHash without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const asHashUnsafe: (instance: CML.Nonce) => CML.NonceHash | undefined;
export {};
//# sourceMappingURL=Nonce.d.ts.map