export interface ExtractOptions { /** Whether to find all matches (default: false, only return the first one) */ findAll?: boolean; /** Maximum number of lines to search (default: unlimited) */ maxLines?: number; /** * Regular expression flags https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_expressions#advanced_searching_with_flags */ flags?: string; } export interface Extractor { /** Extract file paths from a single comment */ extract(comment: string): string | null; /** Extract all file paths from the file content */ extractFromContent(content: string, options?: ExtractOptions): string[]; } export type Language = 'javascript' | 'typescript' | 'python' | 'java' | 'go' | 'css' | 'less' | 'scss' | 'styl' | 'html' | 'yaml' | 'properties';