declare module "@ledgerhq/hw-app-eth" { export type PublicAccount = { publicKey: string; address: string; chainCode: string; }; export type Config = { arbitraryDataEnabled: number, version: string }; export type Signature = { r: string, s: string, v: number }; export class Transport { } export class Eth { constructor(transport: Transport); getAppConfiguration(): Promise; getAddress(path: string): Promise; signPersonalMessage(path: string, message: string): Promise; signTransaction(path: string, unsignedTx: string): Promise; } export default Eth; } declare module "@ledgerhq/hw-transport-node-hid" { export function create(): Promise; } declare module "@ledgerhq/hw-transport-u2f" { export function create(): Promise; }