export declare class ApiError extends Error {
    readonly statusCode: number;
    readonly isOperational: boolean;
    readonly errors?: unknown;
    constructor(statusCode: number, message: string, errors?: unknown, isOperational?: boolean);
    static badRequest(message?: string, errors?: unknown): ApiError;
    static unauthorized(message?: string): ApiError;
    static forbidden(message?: string): ApiError;
    static notFound(message?: string): ApiError;
    static conflict(message?: string, errors?: unknown): ApiError;
    static paymentRequired(message?: string): ApiError;
    static tooManyRequests(message?: string): ApiError;
    static internal(message?: string): ApiError;
}
