export declare class ApiError extends Error {
    readonly statusCode: number;
    readonly code: string;
    constructor(statusCode: number, code: string, message: string);
}
export declare function badRequest(message: string, code?: string): ApiError;
export declare function unauthorized(message?: string): ApiError;
export declare function forbidden(message?: string): ApiError;
export declare function notFound(message?: string): ApiError;
export declare function conflict(message: string, code?: string): ApiError;
