import type { Scenario } from "../types/index.js";
export interface FileMapping {
    /** Glob pattern for source files (supports * and **) */
    glob: string;
    /** Tags of scenarios to run when this glob matches */
    tags: string[];
}
/**
 * Given a set of changed file paths and all scenarios, return the scenarios
 * relevant to those changes.
 *
 * Matching strategies (all applied, union of results):
 * 1. Explicit glob → tag mappings: if a file matches a glob, scenarios with
 *    any of the mapped tags are included.
 * 2. targetPath keyword: path segments of scenario.targetPath matched against
 *    file path components.
 * 3. Tag keywords: scenario tags matched as substrings of file paths (>2 chars).
 * 4. Name keywords: words in the scenario name matched against file paths (>3 chars).
 *
 * If filePaths is empty, all scenarios are returned (run everything).
 */
export declare function matchFilesToScenarios(filePaths: string[], scenarios: Scenario[], mappings?: FileMapping[]): Scenario[];
//# sourceMappingURL=affected.d.ts.map