/** * List of binary document file extensions that should not be read as text */ export declare const BINARY_DOCUMENT_EXTENSIONS: readonly [".pdf", ".doc", ".docx", ".xls", ".xlsx", ".ppt", ".pptx", ".odt", ".ods", ".odp", ".rtf"]; /** * Check if a file is a binary document format based on its extension * @param filePath - The path to the file * @returns true if the file is a binary document format, false otherwise */ export declare function isBinaryDocument(filePath: string): boolean; /** * Get a human-readable error message for unsupported binary document formats * @param filePath - The path to the file * @returns Error message string */ export declare function getBinaryDocumentError(filePath: string): string;