/** Owned by one apply or one running local stack, never a process-global cache. */ export type DependencySession = Map; type Mode = "create" | "frozen" | "read"; /** Read-only consumers must never install through desired-state loading. */ export declare function checkProjectDeps(cwd: string): void; /** Hold the project lock through compilation so another Lobu install cannot race it. */ export declare function withProjectDependencies(cwd: string, options: { mode?: Mode; session?: DependencySession; log?: (message: string) => void; stdio?: "inherit" | "pipe"; }, use: () => Promise): Promise; /** Init alone may create/update the project's lockfile. */ export declare function installProjectDeps(root: string, opts?: { stdio?: "inherit" | "pipe"; }): Promise; export {}; //# sourceMappingURL=ensure-deps-installed.d.ts.map