import { CommandDefinition } from './cli-command'; export declare class CillyException extends Error { msg: string; constructor(msg: string); } export declare class UnknownOptionException extends CillyException { option: string; command: CommandDefinition; constructor(option: string, command: CommandDefinition); } export declare class UnknownSubcommandException extends CillyException { subCommand: string; constructor(subCommand: string, command: CommandDefinition); } export declare class UnexpectedArgumentException extends CillyException { arg: string; command: CommandDefinition; constructor(arg: string, command: CommandDefinition); } export declare class InvalidNumOptionNamesException extends CillyException { names: string[]; constructor(names: string[]); } export declare class InvalidShortOptionNameException extends CillyException { name: string; constructor(name: string); } export declare class InvalidLongOptionNameException extends CillyException { name: string; constructor(name: string); } export declare class InvalidCommandNameException extends CillyException { name: string; constructor(name: string); } export declare class InvalidArgumentNameException extends CillyException { name: string; constructor(name: string); } export declare class ExpectedButGotException extends CillyException { expected: string; got: string; constructor(expected: string, got: string); } export declare class NoCommandHandlerException extends CillyException { command: CommandDefinition; constructor(command: CommandDefinition); } export declare class DuplicateArgumentException extends CillyException { arg: string; command: CommandDefinition; constructor(arg: string, command: CommandDefinition); } export declare class DuplicateOptionException extends CillyException { option: string; command: CommandDefinition; constructor(option: string, command: CommandDefinition); } export declare class DuplicateCommandNameException extends CillyException { subCommand: string; constructor(subCommand: string, command: CommandDefinition); } export declare class NoArgsAndSubCommandsException extends CillyException { command: CommandDefinition; constructor(command: CommandDefinition); } export declare class ValidationError extends CillyException { arg: string; value: any; error: string | boolean; constructor(arg: string, value: any, error: string | boolean); }