/** * Path Profile resolution — per-file config overrides driven by glob patterns. * * Path profiles are an ordered array in .codeauditor.json. Each profile has * `name`, `paths` (glob patterns), and `overrides`. Files matching multiple * profiles merge in order — later wins. * * Built-in profiles (e.g. scripts-and-tests) ship with the tool and can be * disabled via `builtin: false` in config. */ export interface PathProfile { /** Unique name for this profile. */ name: string; /** Glob patterns matching file paths relative to project root. */ paths: string[]; /** Analyzer config overrides applied to files matching this profile. */ overrides: Record; /** Set to false to replace a built-in profile of the same name. */ builtin?: boolean; } export interface ResolvedProfile { /** Merged overrides (excluding severityCap). */ overrides: Record; /** Severity cap to apply post-analysis, if any. */ severityCap?: string; /** Names of all profiles that matched this file, in match order. */ matchedProfileNames: string[]; } /** * Resolve which profiles match a file and merge their overrides. * * @param filePath - Absolute path to the file being analyzed * @param projectRoot - Project root directory * @param profiles - Ordered array of path profiles (built-in + user) * @returns Merged overrides, severity cap, and matched profile names */ export declare function resolvePathProfile(filePath: string, projectRoot: string, profiles: PathProfile[]): ResolvedProfile; //# sourceMappingURL=pathProfiles.d.ts.map