import type { ScanOptions } from './types.js'; /** * Scan codebase for files matching include/exclude patterns. * * In a git repository, the lexical scan below is unioned with git's * tracked-file list ({@link rescueTrackedFiles}) so tracked source is never * silently dropped by a hardcoded ignore pattern or a stale `.gitignore` * line. Non-git directories are unaffected -- {@link getGitTrackedFiles} * returns an empty set and the union is a no-op. */ export declare function scanCodebase(options: ScanOptions): Promise; /** * Detect broad file type from extension (includes non-AST languages like Go, Rust, Markdown, etc.). * For AST-supported language detection, use the AST parser's detectLanguage instead. */ export declare function detectFileType(filepath: string): string; /** * @deprecated Use detectFileType instead. This alias exists for backwards * compatibility with deep imports. */ export declare const detectLanguage: typeof detectFileType; //# sourceMappingURL=scanner.d.ts.map