import type { SlackAPIResponse } from "./client/response";
export declare class SlackAPIConnectionError extends Error {
    apiName: string;
    status: number;
    body: string;
    headers: Headers | undefined;
    cause: Error | undefined;
    constructor(apiName: string, status: number, body: string, headers: Headers | undefined, cause: Error | undefined);
}
export declare class SlackAPIError extends Error {
    apiName: string;
    error: string;
    result: SlackAPIResponse;
    constructor(apiName: string, error: string, result: SlackAPIResponse);
}
export declare class TokenRotationError extends Error {
    cause: Error;
    constructor(message: string, cause: Error);
}
export declare class WebhookError extends Error {
    status: number;
    body: string;
    cause?: Error;
    constructor(status: number, body: string, cause?: Error | undefined);
}
//# sourceMappingURL=errors.d.ts.map