/**
 * File Processor Types
 *
 * Centralized type definitions for the file processing system.
 * These types are re-exported from the main types barrel for SDK consumers.
 *
 * @module types/processorTypes
 */
// =============================================================================
// ERROR CODES
// =============================================================================
/**
 * Enumeration of all file processing error codes.
 * Each code represents a specific failure scenario with associated messaging.
 */
export var FileProcessorErrorCode;
(function (FileProcessorErrorCode) {
    // Download errors
    FileProcessorErrorCode["DOWNLOAD_FAILED"] = "DOWNLOAD_FAILED";
    FileProcessorErrorCode["DOWNLOAD_TIMEOUT"] = "DOWNLOAD_TIMEOUT";
    FileProcessorErrorCode["DOWNLOAD_AUTH_FAILED"] = "DOWNLOAD_AUTH_FAILED";
    FileProcessorErrorCode["NETWORK_ERROR"] = "NETWORK_ERROR";
    FileProcessorErrorCode["FILE_NOT_FOUND"] = "FILE_NOT_FOUND";
    FileProcessorErrorCode["RATE_LIMITED"] = "RATE_LIMITED";
    // Validation errors
    FileProcessorErrorCode["FILE_TOO_LARGE"] = "FILE_TOO_LARGE";
    FileProcessorErrorCode["UNSUPPORTED_TYPE"] = "UNSUPPORTED_TYPE";
    FileProcessorErrorCode["INVALID_FORMAT"] = "INVALID_FORMAT";
    FileProcessorErrorCode["INVALID_MIME_TYPE"] = "INVALID_MIME_TYPE";
    FileProcessorErrorCode["INVALID_MAGIC_BYTES"] = "INVALID_MAGIC_BYTES";
    FileProcessorErrorCode["CORRUPTED_FILE"] = "CORRUPTED_FILE";
    FileProcessorErrorCode["INVALID_STRUCTURE"] = "INVALID_STRUCTURE";
    // Processing errors
    FileProcessorErrorCode["PROCESSING_FAILED"] = "PROCESSING_FAILED";
    FileProcessorErrorCode["PARSING_FAILED"] = "PARSING_FAILED";
    FileProcessorErrorCode["ENCODING_ERROR"] = "ENCODING_ERROR";
    FileProcessorErrorCode["EXTRACTION_FAILED"] = "EXTRACTION_FAILED";
    FileProcessorErrorCode["DECOMPRESSION_FAILED"] = "DECOMPRESSION_FAILED";
    // Security errors
    FileProcessorErrorCode["SECURITY_VALIDATION_FAILED"] = "SECURITY_VALIDATION_FAILED";
    FileProcessorErrorCode["XXE_DETECTED"] = "XXE_DETECTED";
    FileProcessorErrorCode["XSS_DETECTED"] = "XSS_DETECTED";
    FileProcessorErrorCode["CODE_EXECUTION_DETECTED"] = "CODE_EXECUTION_DETECTED";
    FileProcessorErrorCode["ZIP_BOMB_DETECTED"] = "ZIP_BOMB_DETECTED";
    // System errors
    FileProcessorErrorCode["UNKNOWN_ERROR"] = "UNKNOWN_ERROR";
})(FileProcessorErrorCode || (FileProcessorErrorCode = {}));
// =============================================================================
// PRIORITY CONSTANTS
// =============================================================================
/**
 * Priority levels for file processors.
 * Lower number = higher priority = matched first.
 */
export const PROCESSOR_PRIORITIES = {
    /** SVG files - processed as text before image processing */
    SVG: 5,
    /** Image files - AI vision processing */
    IMAGE: 10,
    /** PDF documents */
    PDF: 20,
    /** CSV/tabular data */
    CSV: 30,
    /** Markdown files - structured text */
    MARKDOWN: 40,
    /** JSON data files */
    JSON: 50,
    /** YAML configuration/data files */
    YAML: 60,
    /** XML data files */
    XML: 70,
    /** HTML web content */
    HTML: 80,
    /** Excel spreadsheets */
    EXCEL: 90,
    /** Legacy .doc files */
    DOC: 95,
    /** Word documents (.docx) */
    WORD: 100,
    /** Plain text files */
    TEXT: 110,
    /** Source code files */
    SOURCE_CODE: 120,
    /** Configuration files */
    CONFIG: 130,
    /** RTF documents */
    RTF: 140,
    /** OpenDocument format files */
    OPENDOCUMENT: 150,
};
//# sourceMappingURL=processorTypes.js.map