/** * @since 2.0.0 */ import { Effect } from "effect"; import * as CML from "@anastasia-labs/cardano-multiplatform-lib-nodejs"; /** * Type alias for the CML BootstrapWitness class * * @since 2.0.0 * @category Types */ export type BootstrapWitness = CML.BootstrapWitness; declare const BootstrapWitnessError_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: "BootstrapWitnessError"; } & Readonly; /** * Error class for BootstrapWitness operations * * This error is thrown when operations on BootstrapWitness instances fail. * * @since 2.0.0 * @category Errors */ export declare class BootstrapWitnessError extends BootstrapWitnessError_base<{ message?: string; }> { } /** * Method free of BootstrapWitness * * @since 2.0.0 * @category Methods */ export declare const free: (instance: CML.BootstrapWitness) => Effect.Effect; /** * Unsafely calls instance.free without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const freeUnsafe: (instance: CML.BootstrapWitness) => void; /** * Method toCborBytes of BootstrapWitness * * @since 2.0.0 * @category Methods */ export declare const toCborBytes: (instance: CML.BootstrapWitness) => Effect.Effect; /** * Unsafely calls instance.toCborBytes without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toCborBytesUnsafe: (instance: CML.BootstrapWitness) => Uint8Array; /** * Method toCanonicalCborBytes of BootstrapWitness * * @since 2.0.0 * @category Methods */ export declare const toCanonicalCborBytes: (instance: CML.BootstrapWitness) => Effect.Effect; /** * Unsafely calls instance.toCanonicalCborBytes without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toCanonicalCborBytesUnsafe: (instance: CML.BootstrapWitness) => Uint8Array; /** * Static method fromCborBytes of BootstrapWitness * * @since 2.0.0 * @category Constructors */ export declare const fromCborBytes: (cborBytes: Uint8Array) => Effect.Effect; /** * Unsafely calls BootstrapWitness.fromCborBytes without Effect wrapper * * @since 2.0.0 * @category ConstructorsUnsafe */ export declare const fromCborBytesUnsafe: (cborBytes: Uint8Array) => CML.BootstrapWitness; /** * Method toCborHex of BootstrapWitness * * @since 2.0.0 * @category Methods */ export declare const toCborHex: (instance: CML.BootstrapWitness) => Effect.Effect; /** * Unsafely calls instance.toCborHex without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toCborHexUnsafe: (instance: CML.BootstrapWitness) => string; /** * Method toCanonicalCborHex of BootstrapWitness * * @since 2.0.0 * @category Methods */ export declare const toCanonicalCborHex: (instance: CML.BootstrapWitness) => Effect.Effect; /** * Unsafely calls instance.toCanonicalCborHex without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toCanonicalCborHexUnsafe: (instance: CML.BootstrapWitness) => string; /** * Static method fromCborHex of BootstrapWitness * * @since 2.0.0 * @category Constructors */ export declare const fromCborHex: (cborBytes: string) => Effect.Effect; /** * Unsafely calls BootstrapWitness.fromCborHex without Effect wrapper * * @since 2.0.0 * @category ConstructorsUnsafe */ export declare const fromCborHexUnsafe: (cborBytes: string) => CML.BootstrapWitness; /** * Method toJson of BootstrapWitness * * @since 2.0.0 * @category Methods */ export declare const toJson: (instance: CML.BootstrapWitness) => Effect.Effect; /** * Unsafely calls instance.toJson without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toJsonUnsafe: (instance: CML.BootstrapWitness) => string; /** * Method toJsValue of BootstrapWitness * * @since 2.0.0 * @category Methods */ export declare const toJsValue: (instance: CML.BootstrapWitness) => Effect.Effect; /** * Unsafely calls instance.toJsValue without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toJsValueUnsafe: (instance: CML.BootstrapWitness) => any; /** * Static method fromJson of BootstrapWitness * * @since 2.0.0 * @category Constructors */ export declare const fromJson: (json: string) => Effect.Effect; /** * Unsafely calls BootstrapWitness.fromJson without Effect wrapper * * @since 2.0.0 * @category ConstructorsUnsafe */ export declare const fromJsonUnsafe: (json: string) => CML.BootstrapWitness; /** * Method publicKey of BootstrapWitness * * @since 2.0.0 * @category Methods */ export declare const publicKey: (instance: CML.BootstrapWitness) => Effect.Effect; /** * Unsafely calls instance.publicKey without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const publicKeyUnsafe: (instance: CML.BootstrapWitness) => CML.PublicKey; /** * Method signature of BootstrapWitness * * @since 2.0.0 * @category Methods */ export declare const signature: (instance: CML.BootstrapWitness) => Effect.Effect; /** * Unsafely calls instance.signature without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const signatureUnsafe: (instance: CML.BootstrapWitness) => CML.Ed25519Signature; /** * Method chainCode of BootstrapWitness * * @since 2.0.0 * @category Methods */ export declare const chainCode: (instance: CML.BootstrapWitness) => Effect.Effect; /** * Unsafely calls instance.chainCode without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const chainCodeUnsafe: (instance: CML.BootstrapWitness) => Uint8Array; /** * Method attributes of BootstrapWitness * * @since 2.0.0 * @category Methods */ export declare const attributes: (instance: CML.BootstrapWitness) => Effect.Effect; /** * Unsafely calls instance.attributes without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const attributesUnsafe: (instance: CML.BootstrapWitness) => CML.AddrAttributes; /** * Static method _new of BootstrapWitness * * @since 2.0.0 * @category Constructors */ export declare const _new: (publicKey: CML.PublicKey, signature: CML.Ed25519Signature, chainCode: Uint8Array, attributes: CML.AddrAttributes) => Effect.Effect; /** * Unsafely calls BootstrapWitness._new without Effect wrapper * * @since 2.0.0 * @category ConstructorsUnsafe */ export declare const _newUnsafe: (publicKey: CML.PublicKey, signature: CML.Ed25519Signature, chainCode: Uint8Array, attributes: CML.AddrAttributes) => CML.BootstrapWitness; /** * Method toAddress of BootstrapWitness * * @since 2.0.0 * @category Methods */ export declare const toAddress: (instance: CML.BootstrapWitness) => Effect.Effect; /** * Unsafely calls instance.toAddress without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toAddressUnsafe: (instance: CML.BootstrapWitness) => CML.AddressContent; export {}; //# sourceMappingURL=BootstrapWitness.d.ts.map