/** * Shared claim-area matching, used by both claim-required (cross-session overlap) * and scope-drift (out-of-scope edits). * * These two guards each carried their own copy of this logic, and both needed the * identical whole-repo fix in #651 — the prefix match built `./`, which no * relative path starts with, so a `--target=.` area claim covered nothing. One * home means the next change lands once. */ /** True for a whole-sprint claim like `sprint:S143.5`, which covers every path. */ export declare function isWholeSprintClaim(target: string): boolean; /** * True when an area claim covers the whole working tree. * * `slope claim --target=. --scope=area` is the natural way to say "I am working * across this repo" (GH #651). */ export declare function isWholeRepoClaim(target: string): boolean; /** * True when `relativePath` falls within the claimed `target` area. * * Handles the two area-claim special cases (whole sprint, whole repo) and, * otherwise, an anchored prefix match: a claim on `src/core` matches `src/core` * and `src/core/x.ts` but not `src/core-helpers`. */ export declare function pathWithinClaimedArea(relativePath: string, target: string): boolean; //# sourceMappingURL=claim-area.d.ts.map