import type { Agent } from "node:http";
export declare const KLAW_DEBUG_PROXY_ENABLED = "KLAW_DEBUG_PROXY_ENABLED";
export declare const KLAW_DEBUG_PROXY_URL = "KLAW_DEBUG_PROXY_URL";
export declare const KLAW_DEBUG_PROXY_DB_PATH = "KLAW_DEBUG_PROXY_DB_PATH";
export declare const KLAW_DEBUG_PROXY_BLOB_DIR = "KLAW_DEBUG_PROXY_BLOB_DIR";
export declare const KLAW_DEBUG_PROXY_CERT_DIR = "KLAW_DEBUG_PROXY_CERT_DIR";
export declare const KLAW_DEBUG_PROXY_SESSION_ID = "KLAW_DEBUG_PROXY_SESSION_ID";
export declare const KLAW_DEBUG_PROXY_REQUIRE = "KLAW_DEBUG_PROXY_REQUIRE";
export type DebugProxySettings = {
    enabled: boolean;
    required: boolean;
    proxyUrl?: string;
    dbPath: string;
    blobDir: string;
    certDir: string;
    sessionId: string;
    sourceProcess: string;
};
export declare function resolveDebugProxySettings(env?: NodeJS.ProcessEnv): DebugProxySettings;
export declare function applyDebugProxyEnv(env: NodeJS.ProcessEnv, params: {
    proxyUrl: string;
    sessionId: string;
    dbPath?: string;
    blobDir?: string;
    certDir?: string;
}): NodeJS.ProcessEnv;
export declare function createDebugProxyWebSocketAgent(settings: DebugProxySettings): Agent | undefined;
export declare function resolveEffectiveDebugProxyUrl(configuredProxyUrl?: string): string | undefined;
