import { type WsSocketFactory } from '@nats-io/nats-core';
import { NatsTransport } from './NatsTransport';
export interface ICreateBrowserNatsTransportConfig {
    readonly root?: string;
    /** @deprecated Use `root`. */
    readonly realm?: string;
    readonly wsUrl: string;
    readonly token?: string;
    readonly debug?: boolean;
    readonly connectionTimeoutMs?: number;
    readonly wsFactory?: WsSocketFactory;
}
export declare function createBrowserNatsTransport(config: ICreateBrowserNatsTransportConfig): Promise<NatsTransport>;
//# sourceMappingURL=createBrowserNatsTransport.d.ts.map