/// import type { Account, Currency } from "../types"; import LedgerLivePlatformSDK from "../LedgerLivePlatformSDK"; import { RawSignedTransaction } from "../rawTypes"; /** * @see https://www.michaelbromley.co.uk/blog/mocking-classes-with-typescript/ */ declare type MockOf = { [Member in Exclude]: Class[Member]; }; export default class LedgerLiveSDKMock implements MockOf { connected: boolean; connect(): void; disconnect(): void; /** Legder Live Methods */ requestAccount(): Promise; listCurrencies(): Promise; listAccounts(): Promise; getAccount(accountId: string): Promise; receive(accountId: string): Promise; signTransaction(_accountId: string, _transaction: unknown): Promise; signMessage(_accountId: string, _message: Buffer): Promise; broadcastSignedTransaction(_accountId: string, _signedTransaction: RawSignedTransaction): Promise; } export {};