export type UploadflowErrorCode = 'INVALID_FILE_TYPE' | 'FILE_TOO_LARGE' | 'CONTENT_UNVERIFIED' | 'NO_FILE' | 'NOT_FOUND' | 'FORBIDDEN' | 'ADAPTER_MISSING' | 'CONFIG'; /** All library errors carry a code + an HTTP status so adapters can map them cleanly. */ export declare class UploadflowError extends Error { readonly code: UploadflowErrorCode; readonly statusCode: number; constructor(code: UploadflowErrorCode, message: string, statusCode: number); } export declare const InvalidFileType: (msg: string) => UploadflowError; export declare const FileTooLarge: (msg: string) => UploadflowError; export declare const ContentUnverified: (msg: string) => UploadflowError; export declare const NoFile: (msg: string) => UploadflowError; export declare const NotFound: (msg: string) => UploadflowError; export declare const Forbidden: (msg: string) => UploadflowError; export declare const AdapterMissing: (msg: string) => UploadflowError; export declare const ConfigError: (msg: string) => UploadflowError;