import Transport from "@ledgerhq/hw-transport";
import { TraceContext } from "@ledgerhq/logs";
import { Observable } from "rxjs";
import type { SocketEvent } from "@ledgerhq/types-live";
export declare const warnings: Observable<string>;
/**
 * use Ledger WebSocket API to exchange data with the device
 * Returns an Observable of the final result
 */
export declare function createDeviceSocket(transport: Transport, { url, unresponsiveExpectedDuringBulk, context, }: {
    url: string;
    unresponsiveExpectedDuringBulk?: boolean;
    context?: TraceContext;
}): Observable<SocketEvent>;
//# sourceMappingURL=index.d.ts.map