//#region src/services/paths/index.d.ts export declare const STORE_PATH_ENV = "DOOM_TASK_STORE"; /** Resolve the tree root without relying on extension startup order. */ export declare function resolveSessionKey(rootSessionId: string, env?: Readonly>): string; /** Resolve one root session tree to a task document under the Pi agent directory. */ export declare function resolveStorePath(_cwd?: string, env?: Readonly>, sessionKey?: string): string; /** Whether a deliberate unscoped task-store override is active. */ export declare function hasStorePathOverride(env?: Readonly>): boolean; /** Exact legacy Git-directory store, if the current working tree has one. */ export declare function resolveLegacyStoreDirectory(cwd?: string): string | undefined; export declare function resolveLegacyStoreDirectoryAsync(cwd?: string): Promise; export interface StoreSweepResult { removed: string[]; errors: string[]; } /** Remove only the validated legacy Git store unless it contains the active override. */ export declare function removeLegacyStoreDirectory(currentStorePath: string, cwd?: string): StoreSweepResult; export declare function removeLegacyStoreDirectoryAsync(currentStorePath: string, cwd?: string): Promise; /** Delete expired sibling session stores while preserving active or unreadable stores. */ export declare function sweepStoreFiles(currentStorePath: string, ttlMs: number, now?: number): StoreSweepResult; export declare function sweepStoreFilesAsync(currentStorePath: string, ttlMs: number, now?: number): Promise; export declare function lockPathFor(storePath: string): string; export declare function tempPathFor(storePath: string, pid?: number): string; //#endregion //# sourceMappingURL=index.d.mts.map