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