import { SigningWallet } from '../SigningWallet'; import type { WalletSerialized } from '../../WalletSerialized'; import { PrivateKey } from './PrivateKey'; import { PublicKey } from '../../ViewOnlyWallet/PublicKeyWallet/PublicKey'; /** * Wallet backed by a single private key (no HD derivation). * * @example * ```ts * const wallet = new PrivateKeyWallet(new PrivateKey('deadbeef...')); * console.log(wallet.publicKey); * ``` */ export declare class PrivateKeyWallet extends SigningWallet { readonly walletType: "privateKey"; private readonly _publicKey; /** @param privateKey - The private key. */ constructor(privateKey: PrivateKey); /** Compressed public key as hex. Available even when encrypted. */ get publicKey(): string; /** Returns the {@link PrivateKey}. Prompts for password if encrypted. */ getPrivateKey(): Promise; /** Returns the corresponding {@link PublicKey}. */ getPublicKey(): Promise; /** @internal */ protected doSerialize(): WalletSerialized; }