export declare const TaskError: import("@-xun/error").SpecificErrorClassConstructor<{ name: string; message: string; stack?: string; cause?: unknown; }> & import("@-xun/error").NamedErrorConstructorStaticProperties<{ name: string; message: string; stack?: string; cause?: unknown; }>; /** * An `Error` class where the first letter of the message is capitalized. */ export type TaskError = InstanceType; /** * A collection of possible error and warning messages. */ export declare const CliErrorMessage: { GuruMeditation(): string; UnsupportedCommand(): string; CommandDidNotComplete(command: string): string; IgnoredOptions(args: string[]): string; BadOptionValue(name: string, value: unknown, context?: string): string; }; /** * Throw a {@link CliError} with the given string message, which * causes Black Flag to exit with the {@link FrameworkExitCode.DefaultError} * status code. * * Use this function to assert end user error. */ export declare function softAssert(message: string): never; /** * If `value` is falsy, throw a {@link CliError} with the given string message, * which causes Black Flag to exit with the * {@link FrameworkExitCode.DefaultError} status code. * * Use this function to assert end user error. */ export declare function softAssert(value: unknown, message: string): asserts value; /** * Throw a so-called "FrameworkError" with the given string message, which * causes Black Flag to exit with the {@link FrameworkExitCode.AssertionFailed} * status code. * * Use this function to throw developer errors that end users can do nothing * about. */ export declare function hardAssert(message: string): never; /** * If `value` is falsy, throw a so-called "FrameworkError" with the given string * message, which causes Black Flag to exit with the * {@link FrameworkExitCode.AssertionFailed} status code. * * Use this function to assert developer errors that end users can do nothing * about. */ export declare function hardAssert(value: unknown, message: string): asserts value;