import { Stats } from 'fs'; import { FileInfo, LanguageMapping } from '../types/index.js'; /** * Map of file extensions to markdown code block languages */ export declare const LANGUAGE_MAP: LanguageMapping; /** * Default patterns to ignore when collecting files */ export declare const DEFAULT_IGNORE_PATTERNS: string[]; /** * Maximum file size in bytes (1MB) */ export declare const MAX_FILE_SIZE: number; /** * Get language identifier for a file extension */ export declare function getLanguage(filePath: string): string; /** * Create a valid markdown anchor from a path */ export declare function makeAnchor(filePath: string): string; /** * Check if a file should be ignored based on patterns */ export declare function shouldIgnoreFile(filePath: string, ignorePatterns: string[], stats?: Stats): Promise; /** * Read file content with proper encoding handling */ export declare function readFileContent(filePath: string): Promise; /** * Collect files from input (directory, file, or array of files) */ export declare function collectFiles(input: string | string[], ignorePatterns: string[]): Promise;