declare const ErrorType: { readonly USER: "User"; readonly SYSTEM: "System"; }; type ErrorType = (typeof ErrorType)[keyof typeof ErrorType]; type InnerError = HttpError | Error | ErrorWithMessage | ErrorWithCode | unknown; type HttpError = { response: { status?: number; data?: { errorMessage?: string; error?: { code?: string; message?: string; }; errors?: any; }; }; }; type ErrorWithMessage = { message: string; }; type ErrorWithCode = { code: string; }; declare class PluginError extends Error { name: string; details: [string, string]; suggestions: string[]; errorType: ErrorType; innerError?: InnerError; helpLink?: string; constructor(type: ErrorType, name: string, details: [string, string], suggestions: string[], innerError?: InnerError, helpLink?: string); genMessage(): string; genDisplayMessage(): string; } export declare class ProvisionError extends PluginError { constructor(resource: string, innerError?: InnerError); } export declare class ConfigUpdatingError extends PluginError { constructor(configName: string, innerError?: InnerError); } export declare class BotRegistrationNotFoundError extends PluginError { constructor(botId: string, innerError?: InnerError); } export declare class BotFrameworkNotAllowedToAcquireTokenError extends PluginError { constructor(); } export declare class BotFrameworkForbiddenResultError extends PluginError { constructor(error: any); } export declare class BotFrameworkConflictResultError extends PluginError { constructor(); } export declare function CheckThrowSomethingMissing(name: string, value: T | undefined): T; export {}; //# sourceMappingURL=errors.d.ts.map