import HDKey from 'hdkey'; import { ChromeLedgerBridge } from './chrome-usb/bridge'; import { FirefoxLedgerBridge } from './firefox-u2f/bridge'; import { TypedTransaction } from '@ethereumjs/tx'; export declare class BSCLedgerBridge { private baseHdPath; page: number; perPage: number; hdk: typeof HDKey; bridge: ChromeLedgerBridge | FirefoxLedgerBridge; constructor(); isUnlocked(): boolean; private setBaseHdPath; unlock(hdPath?: string): Promise; getFirstPage(baseHdPath: string): Promise<{ address: string; balance: number; index: number; hdPath: string; }[] | { address: string; balance: number; index: number; hdPath: string; }[]>; getNextPage(baseHdPath: string): Promise<{ address: string; balance: number; index: number; hdPath: string; }[] | { address: string; balance: number; index: number; hdPath: string; }[]>; getPreviousPage(baseHdPath: string): Promise<{ address: string; balance: number; index: number; hdPath: string; }[] | { address: string; balance: number; index: number; hdPath: string; }[]>; signTransaction(tx: TypedTransaction, hdPath: string): Promise; signMessage(message: string, hdPath: string): Promise; getPublicKey(hdPath: string): Promise; private _getPathForIndex; private __getPage; private _getAccountsBIP44; private _getAccountsLegacy; private _addressFromIndex; private _isLedgerLiveHdPath; private _toLedgerPath; }