import { FeeRate, TxHash } from '@xchainjs/xchain-client'; import { Address } from '@xchainjs/xchain-util'; import { TxParams, UTXO, UtxoClientParams, UtxoSelectionPreferences } from '@xchainjs/xchain-utxo'; import { Client } from './client'; import { AddressFormat } from './types'; declare class ClientKeystore extends Client { constructor(params?: UtxoClientParams & { addressFormat?: AddressFormat; }); /** * @deprecated This function eventually will be removed. Use getAddressAsync instead. */ getAddress(index?: number): Address; getAddressAsync(index?: number): Promise; /** * P2TR inputs are signed with a tweaked key; P2SH-P2WPKH inputs need the redeem * script attached before signing; P2WPKH and P2PKH sign with the plain key. */ private signPsbt; private getBtcKeys; transfer(params: TxParams & { feeRate?: FeeRate; utxoSelectionPreferences?: UtxoSelectionPreferences; selectedUtxos?: UTXO[]; }): Promise; transferMax(params: { recipient: Address; memo?: string; feeRate?: FeeRate; walletIndex?: number; utxoSelectionPreferences?: UtxoSelectionPreferences; selectedUtxos?: UTXO[]; }): Promise<{ hash: TxHash; maxAmount: number; fee: number; }>; } export { ClientKeystore };