import type { RuntimeEventBus } from '../runtime/events/index.js';
import { type EmitterContext } from '../runtime/emitters/index.js';
import type { HookDispatcher } from '../hooks/index.js';
import type { ResolvedInboundTlsContext } from '../runtime/network/index.js';
interface DaemonTransportEventsContext {
    readonly runtimeBus: RuntimeEventBus | null;
    readonly hookDispatcher: Pick<HookDispatcher, 'fire'> | null;
    readonly host: string;
    readonly port: number;
    readonly tlsState: () => ResolvedInboundTlsContext | null;
}
export declare class DaemonTransportEventsHelper {
    private readonly context;
    constructor(context: DaemonTransportEventsContext);
    transportId(): string;
    transportScheme(): 'http' | 'https';
    transportEndpoint(): string;
    emitterContext(): EmitterContext;
    emitTransportInitializing(): void;
    emitTransportConnected(): void;
    emitTransportDisconnected(reason: string, willRetry: boolean): void;
    emitTransportTerminalFailure(error: string): void;
    fireTransportHook(specific: string, payload: Record<string, unknown>): Promise<void>;
}
export {};
//# sourceMappingURL=transport-events.d.ts.map