import type { ITransportAdapter, TransportHandler, IWireTopicInfo } from '../engine/remoting/ITransportAdapter';
import { InMemoryBroker } from './InMemoryBroker';
export interface InMemoryTransportOptions {
    queueMessages?: boolean;
    latencyMs?: number;
    name?: string;
    root?: string;
    /** @deprecated Use `root`. */
    realm?: string;
    enableTimingLogs?: boolean;
}
export declare class InMemoryTransport implements ITransportAdapter {
    private broker;
    private queuedMessages;
    private subscriptions;
    private brokerUnsubs;
    private options;
    constructor(broker: InMemoryBroker, options?: InMemoryTransportOptions);
    /**
     * Get the topic prefix (always empty for InMemoryTransport).
     */
    get topicPrefix(): string;
    get root(): string;
    /** @deprecated Use `root`. */
    get realm(): string;
    getUnderlyingClient(): unknown;
    disconnect(): Promise<void>;
    /**
     * Get wire topic info for debugging.
     * InMemoryTransport uses topics as-is (no prefix, no transformation).
     */
    getWireTopicInfo(topic: string): IWireTopicInfo;
    subscribe(topic: string, handler: TransportHandler): () => void;
    publish(topic: string, payload?: unknown): void;
}
//# sourceMappingURL=InMemoryTransport.d.ts.map