/** * @since 2.0.0 */ import { Effect } from "effect"; import * as CML from "@anastasia-labs/cardano-multiplatform-lib-nodejs"; /** * Type alias for the CML Bip32PrivateKey class * * @since 2.0.0 * @category Types */ export type Bip32PrivateKey = CML.Bip32PrivateKey; declare const Bip32PrivateKeyError_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: "Bip32PrivateKeyError"; } & Readonly; /** * Error class for Bip32PrivateKey operations * * This error is thrown when operations on Bip32PrivateKey instances fail. * * @since 2.0.0 * @category Errors */ export declare class Bip32PrivateKeyError extends Bip32PrivateKeyError_base<{ message?: string; }> { } /** * Method free of Bip32PrivateKey * * @since 2.0.0 * @category Methods */ export declare const free: (instance: CML.Bip32PrivateKey) => Effect.Effect; /** * Unsafely calls instance.free without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const freeUnsafe: (instance: CML.Bip32PrivateKey) => void; /** * Method derive of Bip32PrivateKey * * @since 2.0.0 * @category Methods */ export declare const derive: (instance: CML.Bip32PrivateKey, index: number) => Effect.Effect; /** * Unsafely calls instance.derive without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const deriveUnsafe: (instance: CML.Bip32PrivateKey, index: number) => CML.Bip32PrivateKey; /** * Static method from_128Xprv of Bip32PrivateKey * * @since 2.0.0 * @category Constructors */ export declare const from_128Xprv: (bytes: Uint8Array) => Effect.Effect; /** * Unsafely calls Bip32PrivateKey.from_128Xprv without Effect wrapper * * @since 2.0.0 * @category ConstructorsUnsafe */ export declare const from_128XprvUnsafe: (bytes: Uint8Array) => CML.Bip32PrivateKey; /** * Method to_128Xprv of Bip32PrivateKey * * @since 2.0.0 * @category Methods */ export declare const to_128Xprv: (instance: CML.Bip32PrivateKey) => Effect.Effect; /** * Unsafely calls instance.to_128Xprv without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const to_128XprvUnsafe: (instance: CML.Bip32PrivateKey) => Uint8Array; /** * Static method generateEd25519Bip32 of Bip32PrivateKey * * @since 2.0.0 * @category Constructors */ export declare const generateEd25519Bip32: () => Effect.Effect; /** * Unsafely calls Bip32PrivateKey.generateEd25519Bip32 without Effect wrapper * * @since 2.0.0 * @category ConstructorsUnsafe */ export declare const generateEd25519Bip32Unsafe: () => CML.Bip32PrivateKey; /** * Method toRawKey of Bip32PrivateKey * * @since 2.0.0 * @category Methods */ export declare const toRawKey: (instance: CML.Bip32PrivateKey) => Effect.Effect; /** * Unsafely calls instance.toRawKey without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toRawKeyUnsafe: (instance: CML.Bip32PrivateKey) => CML.PrivateKey; /** * Method toPublic of Bip32PrivateKey * * @since 2.0.0 * @category Methods */ export declare const toPublic: (instance: CML.Bip32PrivateKey) => Effect.Effect; /** * Unsafely calls instance.toPublic without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toPublicUnsafe: (instance: CML.Bip32PrivateKey) => CML.Bip32PublicKey; /** * Static method fromRawBytes of Bip32PrivateKey * * @since 2.0.0 * @category Constructors */ export declare const fromRawBytes: (bytes: Uint8Array) => Effect.Effect; /** * Unsafely calls Bip32PrivateKey.fromRawBytes without Effect wrapper * * @since 2.0.0 * @category ConstructorsUnsafe */ export declare const fromRawBytesUnsafe: (bytes: Uint8Array) => CML.Bip32PrivateKey; /** * Method toRawBytes of Bip32PrivateKey * * @since 2.0.0 * @category Methods */ export declare const toRawBytes: (instance: CML.Bip32PrivateKey) => Effect.Effect; /** * Unsafely calls instance.toRawBytes without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toRawBytesUnsafe: (instance: CML.Bip32PrivateKey) => Uint8Array; /** * Static method fromBech32 of Bip32PrivateKey * * @since 2.0.0 * @category Constructors */ export declare const fromBech32: (bech32Str: string) => Effect.Effect; /** * Unsafely calls Bip32PrivateKey.fromBech32 without Effect wrapper * * @since 2.0.0 * @category ConstructorsUnsafe */ export declare const fromBech32Unsafe: (bech32Str: string) => CML.Bip32PrivateKey; /** * Method toBech32 of Bip32PrivateKey * * @since 2.0.0 * @category Methods */ export declare const toBech32: (instance: CML.Bip32PrivateKey) => Effect.Effect; /** * Unsafely calls instance.toBech32 without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const toBech32Unsafe: (instance: CML.Bip32PrivateKey) => string; /** * Static method fromBip39Entropy of Bip32PrivateKey * * @since 2.0.0 * @category Constructors */ export declare const fromBip39Entropy: (entropy: Uint8Array, password: Uint8Array) => Effect.Effect; /** * Unsafely calls Bip32PrivateKey.fromBip39Entropy without Effect wrapper * * @since 2.0.0 * @category ConstructorsUnsafe */ export declare const fromBip39EntropyUnsafe: (entropy: Uint8Array, password: Uint8Array) => CML.Bip32PrivateKey; /** * Method chaincode of Bip32PrivateKey * * @since 2.0.0 * @category Methods */ export declare const chaincode: (instance: CML.Bip32PrivateKey) => Effect.Effect; /** * Unsafely calls instance.chaincode without Effect wrapper * * @since 2.0.0 * @category MethodsUnsafe */ export declare const chaincodeUnsafe: (instance: CML.Bip32PrivateKey) => Uint8Array; export {}; //# sourceMappingURL=Bip32PrivateKey.d.ts.map