/** * Pick the argv prefix used to spawn the embedding worker. * * dist/: `embed-worker.js` exists → `node embed-worker.js `, byte-identical * to the original behaviour, no extra flags, no extra resolution. * * src/ (tsx / vitest): only `embed-worker.ts` exists. Node's * `--experimental-strip-types` cannot run it — the worker imports * `./embedder.js`, and type-stripping does no `.js`→`.ts` extension rewriting, * so it dies with ERR_MODULE_NOT_FOUND. tsx does rewrite, so the source path * runs through tsx's CLI (a devDependency, never needed by dist/). * * Exported for tests. */ export declare function resolveWorkerArgv(): string[]; type RouteResult = any; export interface ConfiguredRouteLayer { route: (taskDescription: string) => Promise; } export declare function createConfiguredRouteLayer(opts?: { debug?: boolean; }): Promise; export {}; //# sourceMappingURL=route-layer-factory.d.ts.map