import { type ChildProcess } from "node:child_process"; export declare function createLocalSocketFetch(socketPath: string): typeof fetch; export interface EnsureDaemonReadyOptions { socketPath?: string; timeoutMs?: number; pollIntervalMs?: number; spawnIfMissing?: boolean; spawnDaemon?: ((socketPath: string) => ChildProcess | undefined) | undefined; healthCheck?: ((socketPath: string) => Promise) | undefined; } export declare function ensureDaemonReady(options?: EnsureDaemonReadyOptions): Promise; export interface StartDaemonBackedStdioBridgeOptions { socketPath?: string; spawnIfMissing?: boolean; ensureReady?: ((options?: EnsureDaemonReadyOptions) => Promise) | undefined; } export declare function startDaemonBackedStdioBridge(options?: StartDaemonBackedStdioBridgeOptions): Promise; //# sourceMappingURL=daemon-stdio-bridge.d.ts.map