import * as _onekeyfe_hd_transport from '@onekeyfe/hd-transport'; import _onekeyfe_hd_transport__default, { OneKeyDeviceInfoWithSession, AcquireInput } from '@onekeyfe/hd-transport'; type IncompleteRequestOptions = { body?: Array | Record | string; url: string; timeout?: number; }; declare class HttpTransport { _messages: ReturnType | undefined; name: string; configured: boolean; stopped: boolean; url: string; Log?: any; constructor(url?: string); _post(options: IncompleteRequestOptions): Promise; init(logger: any): Promise; _silentInit(): Promise; configure(signedData: any): void; listen(old?: Array): Promise; enumerate(): Promise<{ commType: string; path: string; session?: string | null | undefined; debugSession?: string | null | undefined; debug: boolean; }[]>; _acquireMixed(input: AcquireInput): Promise; acquire(input: AcquireInput): Promise; release(session: string, onclose: boolean): Promise; call(session: string, name: string, data: Record): Promise<_onekeyfe_hd_transport.MessageFromOneKey>; post(session: string, name: string, data: Record): Promise; read(session: string): Promise<_onekeyfe_hd_transport.MessageFromOneKey>; requestDevice(): Promise; stop(): void; cancel(): void; } export { HttpTransport as default };