/** * resolver-glob — a correct POSIX-path glob matcher for SSOT selection (§5). The naive `fnmatch` * fails on the double-star token (which must span zero-or-more path segments); this handles it (plus * `*` / `?`) precisely so a `generated` double-star pattern matches `generated/x.json`, * `a/generated/b.yaml`, etc., but not `src/x.yaml`. */ /** Compile a glob to an anchored RegExp. Double-star spans segments; `*`/`?` stay within a segment. */ export declare function globToRegExp(glob: string): RegExp; /** True iff `path` matches `glob`. */ export declare function matchGlob(glob: string, path: string): boolean; /** True iff `path` matches ANY of the globs (also accepts an exact-path equality). */ export declare function matchAny(globs: string[] | undefined, path: string): boolean; /** Index of the FIRST glob matching `path` (exact or glob), else -1 (first-match-wins). */ export declare function firstMatchIndex(globs: string[] | undefined, path: string): number; //# sourceMappingURL=resolver-glob.d.ts.map