import { Core } from "../../../isolation"; import { ByteArray, Uint32 } from "../../types"; import { ParsedXpubTree } from "./types"; export * from "../../core/bip32"; export declare class Node implements Core.BIP32.Node, Core.SecP256K1.ECDSARecoverableKey, Core.SecP256K1.ECDHKey { readonly xpubTree: ParsedXpubTree; protected constructor(xpubTree: ParsedXpubTree); static create(xpubTree: ParsedXpubTree): Promise; getPublicKey(): Promise; getChainCode(): Promise; ecdsaSign(digestAlgorithm: null, msg: ByteArray<32>, counter?: Uint32): Promise; ecdsaSign(digestAlgorithm: Core.Digest.AlgorithmName<32>, msg: Uint8Array, counter?: Uint32): Promise; ecdsaSignRecoverable(digestAlgorithm: null, msg: ByteArray<32>, counter?: Uint32): Promise; ecdsaSignRecoverable(digestAlgorithm: Core.Digest.AlgorithmName<32>, msg: Uint8Array, counter?: Uint32): Promise; derive(index: Uint32): Promise; ecdh(publicKey: Core.SecP256K1.CurvePoint, digestAlgorithm?: Core.Digest.AlgorithmName<32>): Promise>; ecdhRaw(publicKey: Core.SecP256K1.CurvePoint): Promise; } export declare class Seed implements Core.BIP32.Seed { readonly xpubTree: ParsedXpubTree; protected constructor(xpubTree: ParsedXpubTree); static create(xpubTree: ParsedXpubTree): Promise; toSecp256k1MasterKey(): Promise; toEd25519MasterKey(): Promise; /** * Dummy engine doesn't support Stark curve operations * Stark curve requires actual private key material for key grinding and signing */ toStarkMasterKey(): Promise; } //# sourceMappingURL=bip32.d.ts.map