import type { ProxyHealthResponse, ProxyReadinessState } from "../types/index.js";
export declare function createProxyReadinessState(startTimeMs?: number): ProxyReadinessState;
export declare function markProxyReady(state: ProxyReadinessState, readyAtMs?: number): void;
export declare function buildProxyHealthResponse(state: ProxyReadinessState, options: {
    strategy: string;
    passthrough: boolean;
    version: string;
    now?: number;
}): ProxyHealthResponse;
export declare function waitForProxyReadiness(args: {
    host: string;
    port: number;
    timeoutMs?: number;
    intervalMs?: number;
    fetchImpl?: typeof fetch;
}): Promise<void>;
