/** * The file globs a module lints, relative to the module directory. * * `configured` — `lint.modules..include`, else `lint.include` — replaces the * default outright: a module whose sources are not under `src` says so once. The * default covers `src` plus the `src` of each workspace package under `dir`, so a * nested workspace is not left matching nothing (#393). */ export declare function lintIncludeGlobs(dir: string, configured?: readonly string[]): string[]; /** * The longest directory prefix of `glob` that contains no wildcard. * * `app/src/**\/*.ts` → `app/src`; `**\/*.ts` → `''` (the module root). That is the * directory eslint is pointed at and the directory walked to find files the run * should have covered. */ export declare function globRoot(glob: string): string; /** * Match a path (relative, `/`-separated) against one glob. * * `**` crosses directory separators, `*` and `?` do not. Enough for the `files` * patterns eslint itself accepts; anything richer belongs in eslint's config, not here. */ export declare function matchesGlob(path: string, glob: string): boolean; /** * Every file under `dir` that the module's globs say should be linted. * * Walked from each glob's static root so the cost tracks the configured scope, not the * whole module. `node_modules` and `dist` are never descended — eslint ignores both. */ export declare function filesMatchingGlobs(dir: string, globs: readonly string[]): string[]; //# sourceMappingURL=include.d.ts.map