import type { Violation } from './violation'; export interface CodeownersRule { readonly pattern: string; readonly owners: readonly string[]; readonly order: number; } export declare function parseCodeowners(content: string): CodeownersRule[]; export declare function codeownersPatternToRegExp(pattern: string): RegExp; export declare function resolveCodeowner(filePath: string, rules: readonly CodeownersRule[]): readonly string[] | undefined; export declare function enrichViolationsWithCodeowners(violations: readonly Violation[], rules: readonly CodeownersRule[]): Violation[];