import { ChildProcess } from 'child_process';
/**
 * Spawn a minimal static file server bound to `rootPath` on the given port.
 *
 * Used by the agent-variants commit pipeline for the `static_preview` lane:
 * after committing, the materialized `index.html` (+ sibling assets) sits at
 * `destinationPath` with no Vite dev server backing it. This server fills that
 * gap so the iframe stays live and the visual editor has a real origin to
 * bind to. No HMR, no install — just a Node `http` server over the directory.
 *
 * The server runs as a child `node` process so the existing
 * `committedDevServer.proc: ChildProcess` lifecycle (stopDevServer,
 * lingeringCommittedDevServers, teardown) works unchanged.
 *
 * Resolves once the child reports `ready` on its IPC channel. Rejects if the
 * child exits or fails to come up within `timeoutMs`.
 */
export declare function startStaticPreviewServer(args: {
    rootPath: string;
    port: number;
    host?: string;
    timeoutMs?: number;
}): Promise<ChildProcess>;
//# sourceMappingURL=StaticPreviewServer.d.ts.map