/** * Base error class for Clibu runtime errors. * * All domain-specific errors extend this class and provide a stable `code` * string that callers can use to switch on error categories. */ export declare class ClibuError extends Error { code: string; constructor(message: string, code: string); } /** Error raised during parsing (tokenization / option parsing). */ export declare class ParsingError extends ClibuError { constructor(message: string); } /** Error raised when option values fail validation rules. */ export declare class ValidationError extends ClibuError { constructor(message: string); } /** Error thrown when a requested command path cannot be resolved. */ export declare class CommandNotFoundError extends ClibuError { constructor(commandPath: string[]); } /** Error representing a conflict between option definitions (alias or kind). */ export declare class OptionConflictError extends ClibuError { constructor(optionName: string, detail?: string); }