export declare class RagLiteError extends Error { constructor(message: string, options?: { cause?: unknown; }); } export declare class UnsupportedFileTypeError extends RagLiteError { constructor(message: string, options?: { cause?: unknown; }); } export declare class FileNotIndexedError extends RagLiteError { constructor(message: string, options?: { cause?: unknown; }); } export declare class LoaderError extends RagLiteError { constructor(message: string, options?: { cause?: unknown; }); } export declare class ChunkingError extends RagLiteError { constructor(message: string, options?: { cause?: unknown; }); } export declare class EmbeddingError extends RagLiteError { constructor(message: string, options?: { cause?: unknown; }); } export declare class VectorDBError extends RagLiteError { constructor(message: string, options?: { cause?: unknown; }); } export declare class LLMError extends RagLiteError { constructor(message: string, options?: { cause?: unknown; }); } export declare class ConfigError extends RagLiteError { constructor(message: string, options?: { cause?: unknown; }); } /** * Catch handler for a dynamic import of an optional peer dependency: turns * "module not found" into a ConfigError that says what to install. */ export declare function missingPackage(pkg: string, purpose: string): (err: unknown) => never;