/** * Binary file detection utilities */ /** * Maximum file size to scan (1MB) */ export declare const MAX_FILE_SIZE: number; /** * Check if a file is binary based on its extension * @param filePath - Path to file * @returns True if file has binary extension */ export declare function hasBinaryExtension(filePath: string): boolean; /** * Check if a file is binary by reading its content * @param filePath - Path to file * @returns True if file appears to be binary */ export declare function isBinaryContent(filePath: string): boolean; /** * Check if a file is binary (extension-based check first, then content-based) * @param filePath - Path to file * @returns True if file is binary */ export declare function isBinaryFile(filePath: string): boolean; /** * Check if a file exceeds the maximum size limit * @param filePath - Path to file * @returns True if file is too large */ export declare function isFileTooLarge(filePath: string): boolean; /** * Check if a file should be scanned * Returns skip reason if file should be skipped, null otherwise * @param filePath - Path to file * @returns Skip reason or null */ export declare function shouldScanFile(filePath: string): { skip: boolean; reason?: string; }; //# sourceMappingURL=binary-detection.d.ts.map