import { KosTransport } from './kos-message-transport';
import { FosTransport } from './fos-message-transport';
import { BridgeMessageTransport } from './bridge-message-transport';

interface FactoryParams {
    host: string;
    port: number;
    protocol: string;
    fos?: boolean;
    alias?: string;
    onConnectionEstablished?: () => void;
    onConnectionLost?: () => void;
}
/**
 *
 * @description
 * Extend event to get access to the data property.
 */
export interface KosInternalEvent {
    headers: Record<string | `topic` | `http-request-id`, string>;
    body: string;
}
export declare class TransportFactory {
    static build({ host, port, protocol, fos, alias, onConnectionEstablished, onConnectionLost, }: FactoryParams): BridgeMessageTransport | FosTransport | KosTransport;
}
export {};
//# sourceMappingURL=transport-factory.d.ts.map