/** * Extract meaningful path segments from a directory path. * Returns tags like ['path:src', 'path:api', 'path:my-project']. * Filters out noise (node_modules, .git, Users, home dirs, drive letters). */ export declare function extractPathTags(dirPath: string): string[]; /** * Compute path overlap score between two sets of path tags. * Returns 0..1 where 1 = perfect match. * Normalizes by the MORE SPECIFIC side (the larger of the two tag sets), * so a memory carrying only a bare/generic path tag can no longer score a * full 1.0 against a deeply-nested cwd just because its own tiny tag set * is fully contained in the query's — genericity is no longer rewarded. */ export declare function pathOverlapScore(memoryPathTags: string[], currentPathTags: string[]): number; /** Weight applied to path overlap score when computing the recall boost multiplier. */ export declare const PATH_BOOST_WEIGHT = 0.3; /** * Multiplier applied to a composite recall score for path locality. * Filters the memory's tags to path:* itself so call sites cannot drift. * Returns 1.0..1.3. */ export declare function pathBoostMultiplier(memoryTags: string[], currentPathTags: string[]): number; //# sourceMappingURL=path-context.d.ts.map