import * as fs from 'fs'; export declare const DAILY_TASK_NAME = "hippo-daily-runner"; interface WorkspaceRegistry { version: 1; workspaces: string[]; } /** * Dependency-injection seam for tests. Production code always uses the real * `fs` functions imported above; tests override this via * __setSchedulerFsDeps to substitute fakes instead of `vi.mock`ing the * built-in `fs` module. Never called outside tests -- this module's public * behavior is unaffected when it's never invoked. */ export interface SchedulerFsDeps { existsSync: typeof fs.existsSync; readFileSync: typeof fs.readFileSync; mkdirSync: typeof fs.mkdirSync; writeFileSync: typeof fs.writeFileSync; } /** Test-only override. Not part of this module's public API surface. */ export declare function __setSchedulerFsDeps(overrides: Partial): void; export declare function workspaceRegistryPath(globalRoot: string): string; export declare function loadWorkspaceRegistry(globalRoot: string): WorkspaceRegistry; export declare function saveWorkspaceRegistry(globalRoot: string, registry: WorkspaceRegistry): void; export declare function registerWorkspace(globalRoot: string, projectDir: string): WorkspaceRegistry; export declare function listRegisteredWorkspaces(globalRoot: string): string[]; export declare function buildDailyRunnerCommand(projectDir: string, platform?: NodeJS.Platform): string; export declare function runDailyMaintenance(workspaces: readonly string[], runCommand: (cwd: string, args: string[]) => void): void; export {}; //# sourceMappingURL=scheduler.d.ts.map