import * as client from '@botpress/client';
import { AxiosError } from 'axios';
import { VError } from 'verror';
type KnownApiError = Exclude<client.ApiError, client.UnknownError>;
export declare class BotpressCLIError extends VError {
    static wrap(thrown: unknown, message: string): BotpressCLIError;
    static map(thrown: unknown): BotpressCLIError;
    private readonly _debug;
    constructor(error: BotpressCLIError, message: string);
    constructor(message: string);
    set debug(msg: string);
    get debug(): string;
}
export declare class ExclusiveBotFeatureError extends BotpressCLIError {
    constructor();
}
export declare class ExclusiveIntegrationFeatureError extends BotpressCLIError {
    constructor();
}
export declare class HTTPError extends BotpressCLIError {
    readonly status: number | undefined;
    constructor(status: number | undefined, message: string);
    static fromAxios(e: AxiosError<{
        message?: string;
    }>): HTTPError;
    static fromApi(e: KnownApiError): HTTPError;
    private static _axiosMsg;
}
export declare class NoBundleFoundError extends BotpressCLIError {
    constructor();
}
export declare class NoBotsFoundError extends BotpressCLIError {
    constructor();
}
export declare class NoWorkspacesFoundError extends BotpressCLIError {
    constructor();
}
export declare class NotLoggedInError extends BotpressCLIError {
    constructor();
}
export declare class ParamRequiredError extends BotpressCLIError {
    constructor(param: string);
}
export declare class InvalidPackageReferenceError extends BotpressCLIError {
    constructor(ref: string);
}
export declare class UnsupportedProjectType extends BotpressCLIError {
    constructor();
}
export declare class ProjectDefinitionNotFoundError extends BotpressCLIError {
    constructor(workdir: string);
}
export declare class AbortedOperationError extends BotpressCLIError {
    constructor();
}
export {};
