import Eth from "@ledgerhq/hw-app-eth";
import { LegacyEncodedTx } from "@celo/wallet-base";
import type { CeloTx, RLPEncodedTx } from "@celo/connect";
import { LedgerEthTransactionResolution } from "@ledgerhq/hw-app-eth/lib/services/types";
/**
 * Heavily inspiried by celo-web-wallet
 * https://github.com/celo-tools/celo-web-wallet/blob/master/src/features/ledger/CeloLedgerApp.ts
 */
export default class Celo extends Eth {
    signTransaction(path: string, rawTxHex: string, resolution?: LedgerEthTransactionResolution | null): Promise<{
        s: string;
        v: string;
        r: string;
    }>;
    verifyTokenInfo(to: string, chainId: number): Promise<void>;
    rlpEncodedTxForLedger(txParams: CeloTx): Promise<RLPEncodedTx | LegacyEncodedTx>;
}
//# sourceMappingURL=Celo.d.ts.map