import type { RepoLocation } from './types.ts'; /** * A path operand as a repository-relative path. * * Empty string for the working tree root itself, which is what `git add .` from * the top resolves to and means "everything". * * @param location the discovered repository * @param start absolute virtual path git is running in * @param operand the operand as the user spelled it */ export declare function repoRelative(location: RepoLocation, start: string, operand: string): string; /** * Every path a single operand selects: itself, or a whole subtree. * * @param paths the candidate paths, repository-relative * @param target the operand, repository-relative */ export declare function matched(paths: Iterable, target: string): Set; //# sourceMappingURL=pathspec.d.ts.map