export declare class AppError extends Error {
    status: number;
    code: string;
    details?: unknown;
    constructor(status: number, message: string, code?: string, details?: unknown);
}
export declare function badRequest(message: string, details?: unknown): AppError;
export declare function unauthorized(message?: string): AppError;
export declare function forbidden(message?: string): AppError;
export declare function notFound(message?: string): AppError;
export declare function conflict(message: string): AppError;
