import { Transaction } from "@scure/btc-signer";
import { Identity } from ".";
import { SignerSession } from "../tree/signingSession";
export declare class InMemoryKey implements Identity {
    private key;
    private constructor();
    static fromPrivateKey(privateKey: Uint8Array): InMemoryKey;
    static fromHex(privateKeyHex: string): InMemoryKey;
    sign(tx: Transaction, inputIndexes?: number[]): Promise<Transaction>;
    xOnlyPublicKey(): Uint8Array;
    signerSession(): SignerSession;
}
