/** SDK-owned platform module. This implementation is maintained in goodvibes-sdk. */ import type { CodeIndexBuildProgress, CodeIndexStats } from '../../../state/code-index-store.js'; import type { ProcessNode } from '../types.js'; /** Narrow view of CodeIndexStore the fleet needs, Pick, same pattern as the other adapter deps. */ export interface CodeIndexProcessSource { isBuilding(): boolean; buildProgress(): CodeIndexBuildProgress | null; buildStartedAt(): number | null; stats(): CodeIndexStats; } /** Single well-known id: one code index per working directory (no per-workspace fan-out in Stage A). */ export declare function codeIndexNodeId(): string; /** * CodeIndexStore → ProcessNode. Silent source (no bus emission, like * background-process): liveness rides the registry tick. An index build has * no pid, so it is NOT a 'background-process' node (ProcessManager is * shell/OS-process-only), it gets its own ProcessKind, mirroring the * orchestrationEngine-dep precedent. */ export declare function adaptCodeIndex(service: CodeIndexProcessSource, now: number): ProcessNode; //# sourceMappingURL=code-index.d.ts.map