import { VaultService, PlainObject, Vault } from "../vault"; import { Buffer as NodeBuffer } from "buffer"; import { PubKeySecp256k1 } from "@keplr-wallet/crypto"; import { Psbt, Network as BitcoinNetwork } from "bitcoinjs-lib"; import { ModularChainInfo, SignPsbtOptions } from "@keplr-wallet/types"; export declare class KeyRingPrivateKeyService { protected readonly vaultService: VaultService; constructor(vaultService: VaultService); init(): Promise; supportedKeyRingType(): string; createKeyRingVault(privateKey: Uint8Array): Promise<{ insensitive: PlainObject; sensitive: PlainObject; }>; getPubKey(vault: Vault): PubKeySecp256k1; sign(vault: Vault, _purpose: number, _coinType: number, data: Uint8Array, digestMethod: "sha256" | "keccak256" | "hash256" | "noop"): { readonly r: Uint8Array; readonly s: Uint8Array; readonly v: number | null; }; signPsbt(vault: Vault, _purpose: number, _coinType: number, psbt: Psbt, inputsToSign: { index: number; address: string; hdPath?: string; tapLeafHashesToSign?: NodeBuffer[]; sighashTypes?: number[]; disableTweakSigner?: boolean; useTweakedSigner?: boolean; }[], network: BitcoinNetwork, _modularChainInfo: ModularChainInfo, options?: SignPsbtOptions): Promise; private isTaprootInput; }