/**
 * 서버 런타임 시작 정보
 */
export interface ServerRuntimeStartInfo {
    mainJsPath: string;
    /** @fastify/http-proxy 등록을 위한 Client Vite dev server 포트 */
    clientPorts?: Record<string, number>;
    env?: Record<string, string>;
}
/**
 * 서버 준비 완료 이벤트
 */
export interface ServerRuntimeReadyEvent {
    port: number;
}
/**
 * 에러 이벤트
 */
export interface ServerRuntimeErrorEvent {
    message: string;
}
/**
 * 워커 이벤트 타입
 */
export interface ServerRuntimeWorkerEvents extends Record<string, unknown> {
    serverReady: ServerRuntimeReadyEvent;
    error: ServerRuntimeErrorEvent;
}
/**
 * 서버 런타임 시작
 * main.js를 import한 후 listen 수행
 */
declare function start(info: ServerRuntimeStartInfo): Promise<void>;
declare const sender: {
    send<TEventName extends string>(event: TEventName, data?: ServerRuntimeWorkerEvents[TEventName] | undefined): void;
    __methods: {
        start: typeof start;
    };
    __events: ServerRuntimeWorkerEvents;
};
export default sender;
//# sourceMappingURL=server-runtime.worker.d.ts.map