import { KeyPair, PubKey } from './internal.js'; /** * Aldea private key * * A private key is a 32 byte random key. */ export declare class PrivKey { private d; constructor(d: Uint8Array); /** * Returns a PrivKey from the given bytes. */ static fromBytes(bytes: Uint8Array): PrivKey; /** * Returns a PrivKey from the given hex-encoded string. */ static fromHex(str: string): PrivKey; /** * Returns a PrivKey from the given bech32m-encoded string. */ static fromString(str: string): PrivKey; /** * Generates and returns a new random PrivKey. */ static fromRandom(): PrivKey; /** * Returns the PrivKey as bytes. */ toBytes(): Uint8Array; /** * Returns the PrivKey as hex-encoded string. */ toHex(): string; /** * Returns the PrivKey as bech32m-encoded string. */ toString(): string; /** * Returns a KeyPair from the PrivKey. */ toKeyPair(): KeyPair; /** * Returns the PrivKey's corresponding PubKey. */ toPubKey(): PubKey; } //# sourceMappingURL=privkey.d.ts.map