import { IRequestTracer } from '../../api'; import { KeychainsTriplet } from '../baseCoin'; import { IWallet, PaginationOptions } from './iWallet'; import { Wallet } from './wallet'; export interface WalletWithKeychains extends KeychainsTriplet { wallet: IWallet; warning?: string; } export interface GetWalletOptions { allTokens?: boolean; reqId?: IRequestTracer; id?: string; } export interface GenerateMpcWalletOptions { multisigType: 'onchain' | 'tss' | 'blsdkg'; label: string; passphrase?: string; originalPasscodeEncryptionCode?: string; enterprise?: string; walletVersion?: number; } export interface GenerateWalletOptions { label?: string; passphrase?: string; userKey?: string; backupXpub?: string; backupXpubProvider?: string; passcodeEncryptionCode?: string; enterprise?: string; disableTransactionNotifications?: string; gasPrice?: string; eip1559?: { maxFeePerGas: string; maxPriorityFeePerGas: string; }; walletVersion?: number; disableKRSEmail?: boolean; krsSpecific?: { [index: string]: boolean | string | number; }; coldDerivationSeed?: string; rootPrivateKey?: string; multisigType?: 'onchain' | 'tss' | 'blsdkg'; } export interface GetWalletByAddressOptions { address?: string; reqId?: IRequestTracer; } export interface UpdateShareOptions { walletShareId?: string; state?: string; encryptedPrv?: string; } export interface AcceptShareOptions { overrideEncryptedPrv?: string; walletShareId?: string; userPassword?: string; newWalletPassphrase?: string; } export interface AddWalletOptions { coinSpecific?: any; enterprise?: string; isCold?: IsCold; isCustodial?: IsCustodial; keys?: string[]; keySignatures?: KeySignatures; label: string; multisigType?: 'onchain' | 'tss' | 'blsdkg'; address?: string; m?: number; n?: number; tags?: string[]; type?: string; walletVersion?: number; eip1559?: Eip1559; clientFlags?: string[]; rootPub?: string; rootPrivateKey?: string; initializationTxs?: any; disableTransactionNotifications?: boolean; gasPrice?: number; } declare type KeySignatures = { backup?: string; bitgo?: string; }; /** @deprecated */ declare type IsCold = boolean; /** @deprecated */ declare type IsCustodial = boolean; declare type Eip1559 = { maxPriorityFeePerGas: string; maxFeePerGas: string; }; export interface ListWalletOptions extends PaginationOptions { skip?: number; getbalances?: boolean; allTokens?: boolean; } export interface IWallets { get(params?: GetWalletOptions): Promise; list(params?: ListWalletOptions): Promise<{ wallets: IWallet[]; }>; add(params?: AddWalletOptions): Promise; generateWallet(params?: GenerateWalletOptions): Promise; listShares(params?: Record): Promise; getShare(params?: { walletShareId?: string; }): Promise; updateShare(params?: UpdateShareOptions): Promise; resendShareInvite(params?: { walletShareId?: string; }): Promise; cancelShare(params?: { walletShareId?: string; }): Promise; acceptShare(params?: AcceptShareOptions): Promise; getWallet(params?: GetWalletOptions): Promise; getWalletByAddress(params?: GetWalletByAddressOptions): Promise; getTotalBalances(params?: Record): Promise; } export {}; //# sourceMappingURL=iWallets.d.ts.map