import type CodeGraph from '../index';
export interface ProjectLease {
    cg: CodeGraph;
    ready(): Promise<void>;
    release(): Promise<void>;
}
/** Engines in one process share a graph; other processes share the writer slot. */
export declare function acquireProject(root: string, open: () => CodeGraph, options: Parameters<CodeGraph['watch']>[0]): ProjectLease;
//# sourceMappingURL=project-lifecycle.d.ts.map