import { ZodError } from 'zod'; /** * Base class for all config-related errors */ export declare abstract class ConfigError extends Error { protected constructor(message: string); } /** * Thrown when a config file doesn't exist */ export declare class ConfigNotFoundError extends ConfigError { readonly filePath: string; readonly fileType: string; constructor(filePath: string, fileType: string); } /** * Thrown when a config file can't be read */ export declare class ConfigReadError extends ConfigError { readonly filePath: string; readonly cause: unknown; constructor(filePath: string, cause: unknown); } /** * Thrown when a config file can't be written */ export declare class ConfigWriteError extends ConfigError { readonly filePath: string; readonly cause: unknown; constructor(filePath: string, cause: unknown); } /** * Thrown when config validation fails */ export declare class ConfigValidationError extends ConfigError { readonly filePath: string; readonly fileType: string; readonly zodError: ZodError; constructor(filePath: string, fileType: string, zodError: ZodError); } /** * Thrown when JSON parsing fails */ export declare class ConfigParseError extends ConfigError { readonly filePath: string; readonly cause: unknown; constructor(filePath: string, cause: unknown); } //# sourceMappingURL=config.d.ts.map