import { errors, HttpContext } from '@adonisjs/core/http';
export declare class AKAPIException extends errors.E_HTTP_EXCEPTION {
    displayCauseInProduction: boolean;
    constructor(status: number, code: string, message: string, cause?: any, displayCauseInProduction?: boolean);
    handle(error: AKAPIException, ctx: HttpContext): void;
    equals(other: AKAPIException): boolean;
    static auth: {
        token: {
            missing: AKAPIException;
            malformed: AKAPIException;
            expired: AKAPIException;
            wrongUserId: AKAPIException;
            wrongType: AKAPIException;
            typeUnknown: AKAPIException;
        };
        wrongCredentials: AKAPIException;
        userDisabled: AKAPIException;
        emailAlreadyExist: AKAPIException;
        notAuhthentified: AKAPIException;
    };
    static validationError: (error?: {
        messages: any[];
    }) => AKAPIException;
    static notFound: AKAPIException;
    static notAvailable: AKAPIException;
    static alreadyExist: AKAPIException;
    static availabilityAlreadyExist: AKAPIException;
    static doesNotExist: AKAPIException;
    static malformedUuid: AKAPIException;
    static malformedQuery: AKAPIException;
    static notAllowed: AKAPIException;
    static tooManyRequests: AKAPIException;
}
