/** * @fileoverview Scope-based file resolution for fitness checks * * Checks declare intent (languages + concerns), targets declare reality * (languages + concerns + globs), and this module resolves the match. * * Performance: all targets are globbed once upfront in buildScopeBasedFileMap. * Per-check resolution is a pure in-memory lookup — no redundant I/O. */ import type { CheckScope } from './check-config.js'; import type { TargetRegistry } from '../targets/target-registry.js'; import type { TargetsConfig } from '../targets/types.js'; interface ScopeResolvableCheck { /** Stable UUID used as the output-map key when available. */ readonly id?: string; readonly slug: string; readonly scope?: CheckScope; } /** * Build the complete check-to-files map for all checks with scopes or overrides. * * All targets are globbed once upfront. Per-check resolution is a pure * in-memory lookup against the pre-resolved file lists. */ export declare function buildScopeBasedFileMap(checks: readonly ScopeResolvableCheck[], registry: TargetRegistry, config: TargetsConfig, rootDir: string): Map; export {}; //# sourceMappingURL=scope-resolver.d.ts.map