import type { WorkerRequestHandler, WorkerUpgradeHandler } from './setup-server-worker';
import { createWorker } from './server-ipc';
export type RenderWorker = Pick<typeof import('./render-server'), 'initialize' | 'deleteCache' | 'clearModuleContext' | 'deleteAppClientCache' | 'propagateServerField'>;
export interface RenderWorkers {
    app?: Awaited<ReturnType<typeof createWorker>>;
    pages?: Awaited<ReturnType<typeof createWorker>>;
}
export declare function initialize(opts: {
    dir: string;
    port: number;
    dev: boolean;
    minimalMode?: boolean;
    hostname?: string;
    workerType: 'router' | 'render';
    isNodeDebugging: boolean;
    keepAliveTimeout?: number;
    customServer?: boolean;
    experimentalTestProxy?: boolean;
}): Promise<[WorkerRequestHandler, WorkerUpgradeHandler]>;
