/** * A type that represents a class constructor * * @publicApi */ export declare type Type = new (...args: any[]) => T; /** * A special error thrown for build errors */ export declare class CliBuildError extends Error { } /** * Specific error type that is caught by the default behaviour of the HelpModule if it has been imported into the application. Thrown when the cli * expects a command from the parsed arguments. * @extends HelpError * @publicApi */ export declare class MissingCommandError extends Error { constructor(message?: string); } /** * Specific error type that is caught by the default behaviour of the HelpModule if it has been imported into the application. Thrown when the cli * recieves a command from the parsed arguments but cannot match this to any commands within the relevant module. * @extends HelpError * @publicApi */ export declare class UnknownCommandError extends Error { constructor(message?: string); } /** * Specific error type that is caught by the default behaviour of the HelpModule if it has been imported into the application. * Thrown when the user provides invalid options to a command * @extends HelpError * @publicApi */ export declare class OptionParsingError extends Error { constructor(message?: string); } /** * Specific error type that is caught by the default behaviour of the HelpModule if it has been imported into the application. * Thrown when the user provides invalid positional parameters to a command * @extends HelpError * @publicApi */ export declare class ParameterParsingError extends Error { constructor(message?: string); } /** * Specific error type that is caught by the default behaviour of the HelpModule if it has been imported into the application. * Thrown when the user provides invalid positional parameters to a command * @extends HelpError * @publicApi */ export declare class TypeCastingError extends Error { constructor(message?: string); }