/** * Error codes for expo-doc-vision. */ export declare enum ExpoDocVisionErrorCode { /** The specified file was not found. */ FILE_NOT_FOUND = "FILE_NOT_FOUND", /** The file type is not supported. */ UNSUPPORTED_FILE_TYPE = "UNSUPPORTED_FILE_TYPE", /** Failed to load or parse the document. */ DOCUMENT_LOAD_FAILED = "DOCUMENT_LOAD_FAILED", /** OCR processing failed. */ OCR_FAILED = "OCR_FAILED", /** Recognition was cancelled before the page started. */ CANCELLED = "CANCELLED", /** Invalid options provided. */ INVALID_OPTIONS = "INVALID_OPTIONS", /** Platform not supported (Android). */ PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED" } /** * Custom error class for expo-doc-vision errors. */ export declare class ExpoDocVisionError extends Error { code: ExpoDocVisionErrorCode; constructor(code: ExpoDocVisionErrorCode, message: string); } //# sourceMappingURL=errors.d.ts.map