export declare const AUTH_MODULE_OPTIONS = "NEST_AUTH_AUTH_MODULE_OPTIONS";
export declare const NEST_AUTH_ASYNC_OPTIONS_PROVIDER = "NEST_AUTH_ASYNC_OPTIONS_PROVIDER";
export declare const JWT_AUTH_PROVIDER = "jwt";
export declare const GOOGLE_AUTH_PROVIDER = "google";
export declare const FACEBOOK_AUTH_PROVIDER = "facebook";
export declare const APPLE_AUTH_PROVIDER = "apple";
export declare const GITHUB_AUTH_PROVIDER = "github";
export declare const EMAIL_AUTH_PROVIDER = "email";
export declare const PHONE_AUTH_PROVIDER = "phone";
export declare const OPTIONAL_AUTH_KEY = "optional_auth";
export declare const AUTH_ERROR_CODES: {
    readonly REGISTRATION_DISABLED: "REGISTRATION_DISABLED";
    readonly EMAIL_ALREADY_EXISTS: "EMAIL_ALREADY_EXISTS";
    readonly PHONE_ALREADY_EXISTS: "PHONE_ALREADY_EXISTS";
    readonly PROVIDER_NOT_FOUND: "PROVIDER_NOT_FOUND";
    readonly INVALID_CREDENTIALS: "INVALID_CREDENTIALS";
    readonly INVALID_PROVIDER: "INVALID_PROVIDER";
    readonly MISSING_REQUIRED_FIELDS: "MISSING_REQUIRED_FIELDS";
    readonly USER_NOT_FOUND: "USER_NOT_FOUND";
    readonly ACCOUNT_SUSPENDED: "ACCOUNT_SUSPENDED";
    readonly ACCOUNT_INACTIVE: "ACCOUNT_INACTIVE";
    readonly EMAIL_NOT_VERIFIED: "EMAIL_NOT_VERIFIED";
    readonly CURRENT_PASSWORD_INCORRECT: "CURRENT_PASSWORD_INCORRECT";
    readonly NEW_PASSWORD_SAME_AS_CURRENT: "NEW_PASSWORD_SAME_AS_CURRENT";
    readonly PASSWORD_RESET_INVALID_REQUEST: "PASSWORD_RESET_INVALID_REQUEST";
    readonly PASSWORD_RESET_TOKEN_INVALID: "PASSWORD_RESET_TOKEN_INVALID";
    readonly PASSWORD_RESET_TOKEN_EXPIRED: "PASSWORD_RESET_TOKEN_EXPIRED";
    readonly REFRESH_TOKEN_INVALID: "REFRESH_TOKEN_INVALID";
    readonly REFRESH_TOKEN_EXPIRED: "REFRESH_TOKEN_EXPIRED";
    readonly INVALID_TOKEN: "INVALID_TOKEN";
    readonly TOKEN_EXPIRED: "TOKEN_EXPIRED";
    readonly EMAIL_ALREADY_VERIFIED: "EMAIL_ALREADY_VERIFIED";
    readonly VERIFICATION_CODE_INVALID: "VERIFICATION_CODE_INVALID";
    readonly VERIFICATION_CODE_EXPIRED: "VERIFICATION_CODE_EXPIRED";
    readonly NO_EMAIL_ADDRESS: "NO_EMAIL_ADDRESS";
    readonly NO_PHONE_NUMBER: "NO_PHONE_NUMBER";
};
export declare const MFA_ERROR_CODES: {
    readonly MFA_NOT_ENABLED: "MFA_NOT_ENABLED";
    readonly MFA_REQUIRED: "MFA_REQUIRED";
    readonly MFA_CODE_INVALID: "MFA_CODE_INVALID";
    readonly MFA_CODE_EXPIRED: "MFA_CODE_EXPIRED";
    readonly MFA_METHOD_NOT_AVAILABLE: "MFA_METHOD_NOT_AVAILABLE";
    readonly MFA_TOGGLING_NOT_ALLOWED: "MFA_TOGGLING_NOT_ALLOWED";
    readonly MFA_CANNOT_ENABLE_WITHOUT_METHOD: "MFA_CANNOT_ENABLE_WITHOUT_METHOD";
    readonly MFA_RECOVERY_CODE_INVALID: "MFA_RECOVERY_CODE_INVALID";
    readonly TOTP_SETUP_FAILED: "TOTP_SETUP_FAILED";
    readonly TOTP_VERIFICATION_FAILED: "TOTP_VERIFICATION_FAILED";
};
export declare const SESSION_ERROR_CODES: {
    readonly SESSION_NOT_FOUND: "SESSION_NOT_FOUND";
    readonly SESSION_EXPIRED: "SESSION_EXPIRED";
    readonly SESSION_INVALID: "SESSION_INVALID";
    readonly MAX_SESSIONS_REACHED: "MAX_SESSIONS_REACHED";
};
export declare const GUARD_ERROR_CODES: {
    readonly NO_AUTH_PROVIDED: "NO_AUTH_PROVIDED";
    readonly INVALID_AUTH_FORMAT: "INVALID_AUTH_FORMAT";
    readonly INVALID_AUTH_TYPE: "INVALID_AUTH_TYPE";
    readonly UNAUTHORIZED: "UNAUTHORIZED";
    readonly ACCESS_DENIED: "ACCESS_DENIED";
    readonly FORBIDDEN: "FORBIDDEN";
    readonly NO_ROLES_ASSIGNED: "NO_ROLES_ASSIGNED";
    readonly MISSING_REQUIRED_ROLES: "MISSING_REQUIRED_ROLES";
    readonly MISSING_REQUIRED_PERMISSIONS: "MISSING_REQUIRED_PERMISSIONS";
    readonly GUARD_MISMATCH: "GUARD_MISMATCH";
};
export declare const API_KEY_ERROR_CODES: {
    readonly INVALID_API_KEY_FORMAT: "INVALID_API_KEY_FORMAT";
    readonly INVALID_API_KEY: "INVALID_API_KEY";
    readonly API_KEY_EXPIRED: "API_KEY_EXPIRED";
    readonly API_KEY_DEACTIVATED: "API_KEY_DEACTIVATED";
    readonly API_KEY_NOT_FOUND: "API_KEY_NOT_FOUND";
};
export declare const VALIDATION_ERROR_CODES: {
    readonly EMAIL_OR_PHONE_REQUIRED: "EMAIL_OR_PHONE_REQUIRED";
    readonly TENANT_ID_REQUIRED: "TENANT_ID_REQUIRED";
    readonly INVALID_INPUT: "INVALID_INPUT";
    readonly MISSING_REQUIRED_FIELD: "MISSING_REQUIRED_FIELD";
    readonly INVALID_EMAIL_FORMAT: "INVALID_EMAIL_FORMAT";
    readonly INVALID_PHONE_FORMAT: "INVALID_PHONE_FORMAT";
};
export declare const OTP_ERROR_CODES: {
    readonly OTP_INVALID: "OTP_INVALID";
    readonly OTP_EXPIRED: "OTP_EXPIRED";
    readonly OTP_ALREADY_USED: "OTP_ALREADY_USED";
    readonly OTP_NOT_FOUND: "OTP_NOT_FOUND";
};
export declare const USER_ERROR_CODES: {
    readonly USER_NOT_FOUND: "USER_NOT_FOUND";
    readonly USER_ALREADY_EXISTS: "USER_ALREADY_EXISTS";
    readonly USER_CREATION_FAILED: "USER_CREATION_FAILED";
    readonly USER_UPDATE_FAILED: "USER_UPDATE_FAILED";
    readonly USER_DELETION_FAILED: "USER_DELETION_FAILED";
};
export declare const TENANT_ERROR_CODES: {
    readonly TENANT_NOT_FOUND: "TENANT_NOT_FOUND";
    readonly TENANT_ALREADY_EXISTS: "TENANT_ALREADY_EXISTS";
    readonly INVALID_TENANT: "INVALID_TENANT";
};
export declare const ERROR_CODES: {
    readonly TENANT_NOT_FOUND: "TENANT_NOT_FOUND";
    readonly TENANT_ALREADY_EXISTS: "TENANT_ALREADY_EXISTS";
    readonly INVALID_TENANT: "INVALID_TENANT";
    readonly USER_NOT_FOUND: "USER_NOT_FOUND";
    readonly USER_ALREADY_EXISTS: "USER_ALREADY_EXISTS";
    readonly USER_CREATION_FAILED: "USER_CREATION_FAILED";
    readonly USER_UPDATE_FAILED: "USER_UPDATE_FAILED";
    readonly USER_DELETION_FAILED: "USER_DELETION_FAILED";
    readonly OTP_INVALID: "OTP_INVALID";
    readonly OTP_EXPIRED: "OTP_EXPIRED";
    readonly OTP_ALREADY_USED: "OTP_ALREADY_USED";
    readonly OTP_NOT_FOUND: "OTP_NOT_FOUND";
    readonly EMAIL_OR_PHONE_REQUIRED: "EMAIL_OR_PHONE_REQUIRED";
    readonly TENANT_ID_REQUIRED: "TENANT_ID_REQUIRED";
    readonly INVALID_INPUT: "INVALID_INPUT";
    readonly MISSING_REQUIRED_FIELD: "MISSING_REQUIRED_FIELD";
    readonly INVALID_EMAIL_FORMAT: "INVALID_EMAIL_FORMAT";
    readonly INVALID_PHONE_FORMAT: "INVALID_PHONE_FORMAT";
    readonly INVALID_API_KEY_FORMAT: "INVALID_API_KEY_FORMAT";
    readonly INVALID_API_KEY: "INVALID_API_KEY";
    readonly API_KEY_EXPIRED: "API_KEY_EXPIRED";
    readonly API_KEY_DEACTIVATED: "API_KEY_DEACTIVATED";
    readonly API_KEY_NOT_FOUND: "API_KEY_NOT_FOUND";
    readonly NO_AUTH_PROVIDED: "NO_AUTH_PROVIDED";
    readonly INVALID_AUTH_FORMAT: "INVALID_AUTH_FORMAT";
    readonly INVALID_AUTH_TYPE: "INVALID_AUTH_TYPE";
    readonly UNAUTHORIZED: "UNAUTHORIZED";
    readonly ACCESS_DENIED: "ACCESS_DENIED";
    readonly FORBIDDEN: "FORBIDDEN";
    readonly NO_ROLES_ASSIGNED: "NO_ROLES_ASSIGNED";
    readonly MISSING_REQUIRED_ROLES: "MISSING_REQUIRED_ROLES";
    readonly MISSING_REQUIRED_PERMISSIONS: "MISSING_REQUIRED_PERMISSIONS";
    readonly GUARD_MISMATCH: "GUARD_MISMATCH";
    readonly SESSION_NOT_FOUND: "SESSION_NOT_FOUND";
    readonly SESSION_EXPIRED: "SESSION_EXPIRED";
    readonly SESSION_INVALID: "SESSION_INVALID";
    readonly MAX_SESSIONS_REACHED: "MAX_SESSIONS_REACHED";
    readonly MFA_NOT_ENABLED: "MFA_NOT_ENABLED";
    readonly MFA_REQUIRED: "MFA_REQUIRED";
    readonly MFA_CODE_INVALID: "MFA_CODE_INVALID";
    readonly MFA_CODE_EXPIRED: "MFA_CODE_EXPIRED";
    readonly MFA_METHOD_NOT_AVAILABLE: "MFA_METHOD_NOT_AVAILABLE";
    readonly MFA_TOGGLING_NOT_ALLOWED: "MFA_TOGGLING_NOT_ALLOWED";
    readonly MFA_CANNOT_ENABLE_WITHOUT_METHOD: "MFA_CANNOT_ENABLE_WITHOUT_METHOD";
    readonly MFA_RECOVERY_CODE_INVALID: "MFA_RECOVERY_CODE_INVALID";
    readonly TOTP_SETUP_FAILED: "TOTP_SETUP_FAILED";
    readonly TOTP_VERIFICATION_FAILED: "TOTP_VERIFICATION_FAILED";
    readonly REGISTRATION_DISABLED: "REGISTRATION_DISABLED";
    readonly EMAIL_ALREADY_EXISTS: "EMAIL_ALREADY_EXISTS";
    readonly PHONE_ALREADY_EXISTS: "PHONE_ALREADY_EXISTS";
    readonly PROVIDER_NOT_FOUND: "PROVIDER_NOT_FOUND";
    readonly INVALID_CREDENTIALS: "INVALID_CREDENTIALS";
    readonly INVALID_PROVIDER: "INVALID_PROVIDER";
    readonly MISSING_REQUIRED_FIELDS: "MISSING_REQUIRED_FIELDS";
    readonly ACCOUNT_SUSPENDED: "ACCOUNT_SUSPENDED";
    readonly ACCOUNT_INACTIVE: "ACCOUNT_INACTIVE";
    readonly EMAIL_NOT_VERIFIED: "EMAIL_NOT_VERIFIED";
    readonly CURRENT_PASSWORD_INCORRECT: "CURRENT_PASSWORD_INCORRECT";
    readonly NEW_PASSWORD_SAME_AS_CURRENT: "NEW_PASSWORD_SAME_AS_CURRENT";
    readonly PASSWORD_RESET_INVALID_REQUEST: "PASSWORD_RESET_INVALID_REQUEST";
    readonly PASSWORD_RESET_TOKEN_INVALID: "PASSWORD_RESET_TOKEN_INVALID";
    readonly PASSWORD_RESET_TOKEN_EXPIRED: "PASSWORD_RESET_TOKEN_EXPIRED";
    readonly REFRESH_TOKEN_INVALID: "REFRESH_TOKEN_INVALID";
    readonly REFRESH_TOKEN_EXPIRED: "REFRESH_TOKEN_EXPIRED";
    readonly INVALID_TOKEN: "INVALID_TOKEN";
    readonly TOKEN_EXPIRED: "TOKEN_EXPIRED";
    readonly EMAIL_ALREADY_VERIFIED: "EMAIL_ALREADY_VERIFIED";
    readonly VERIFICATION_CODE_INVALID: "VERIFICATION_CODE_INVALID";
    readonly VERIFICATION_CODE_EXPIRED: "VERIFICATION_CODE_EXPIRED";
    readonly NO_EMAIL_ADDRESS: "NO_EMAIL_ADDRESS";
    readonly NO_PHONE_NUMBER: "NO_PHONE_NUMBER";
};
export type ErrorCode = typeof ERROR_CODES[keyof typeof ERROR_CODES];
export declare const ACCESS_TOKEN_COOKIE_NAME = "accessToken";
export declare const REFRESH_TOKEN_COOKIE_NAME = "refreshToken";
export declare const NEST_AUTH_TRUST_DEVICE_KEY = "nest_auth_device_trust";
export declare const DEFAULT_GUARD_NAME = "web";
export declare const NestAuthEvents: {
    readonly EMAIL_VERIFICATION_REQUESTED: "email.verification.requested";
    readonly EMAIL_VERIFIED: "email.verified";
    readonly LOGGED_IN: "nest_auth.logged_in";
    readonly REGISTERED: "nest_auth.registered";
    readonly TWO_FACTOR_VERIFIED: "nest_auth.two_factor_verified";
    readonly TWO_FACTOR_CODE_SENT: "nest_auth.two_factor_code_sent";
    readonly REFRESH_TOKEN: "nest_auth.refresh_token";
    readonly PASSWORD_RESET_REQUESTED: "nest_auth.password_reset_requested";
    readonly PASSWORD_RESET: "nest_auth.password_reset";
    readonly LOGGED_OUT: "nest_auth.logged_out";
    readonly LOGGED_OUT_ALL: "nest_auth.logged_out_all";
    readonly PASSWORD_CHANGED: "nest_auth.password_changed";
    readonly TWO_FACTOR_ENABLED: "nest_auth.two_factor_enabled";
    readonly TWO_FACTOR_DISABLED: "nest_auth.two_factor_disabled";
    readonly USER_CREATED: "nest_auth.user.created";
    readonly USER_UPDATED: "nest_auth.user.updated";
    readonly USER_DELETED: "nest_auth.user.deleted";
    readonly TENANT_CREATED: "nest_auth.tenant.created";
    readonly TENANT_UPDATED: "nest_auth.tenant.updated";
    readonly TENANT_DELETED: "nest_auth.tenant.deleted";
    readonly ACCESS_KEY_CREATED: "nest_auth.access_key.created";
    readonly ACCESS_KEY_DELETED: "nest_auth.access_key.deleted";
    readonly ACCESS_KEY_UPDATED: "nest_auth.access_key.updated";
    readonly ACCESS_KEY_DEACTIVATED: "nest_auth.access_key.deactivated";
};
//# sourceMappingURL=auth.constants.d.ts.map