import { OIDCError } from "../op";
import { ValidationError as ValidationErrorEntry } from "../lib/validator";
declare class IdentityProviderError implements OIDCError {
    readonly status: number;
    readonly error: string;
    readonly error_description: string | undefined;
    constructor(status: number, error: string, error_description: string | undefined);
}
declare class IdentityAlreadyExists extends IdentityProviderError {
    constructor();
}
declare class IdentityNotExists extends IdentityProviderError {
    constructor();
}
declare class InvalidCredentials extends IdentityProviderError {
    constructor();
}
declare class UnsupportedCredentials extends IdentityProviderError {
    constructor();
}
declare class ValidationFailed extends IdentityProviderError {
    readonly data: ValidationErrorEntry[];
    readonly debug?: object | undefined;
    constructor(data: ValidationErrorEntry[], debug?: object | undefined);
}
export declare const IAMErrors: {
    IdentityProviderError: typeof IdentityProviderError;
    IdentityAlreadyExists: typeof IdentityAlreadyExists;
    IdentityNotExists: typeof IdentityNotExists;
    InvalidCredentials: typeof InvalidCredentials;
    UnsupportedCredentials: typeof UnsupportedCredentials;
    ValidationFailed: typeof ValidationFailed;
};
export {};
