/**
 * <div style={{display: "flex", justifyContent: "space-between", alignItems: "center"}}>
 * <span style={{fontSize: "1.35rem" }}>
 *  Built-in sign in with <b>Auth0</b> integration.
 * </span>
 * <a href="https://auth0.com" style={{backgroundColor: "black", padding: "12px", borderRadius: "100%" }}>
 *   <img style={{display: "block"}} src="https://authjs.dev/img/providers/auth0-dark.svg" width="24"/>
 * </a>
 * </div>
 *
 * @module providers/auth0
 */
import type { OIDCConfig, OIDCUserConfig } from "./index.js";
/** The returned user profile from Auth0 when using the profile callback. [Reference](https://auth0.com/docs/manage-users/user-accounts/user-profiles/user-profile-structure). */
export interface Auth0Profile extends Record<string, any> {
    /** The user's unique identifier. */
    sub: string;
    /** Custom fields that store info about a user that influences the user's access, such as support plan, security roles (if not using the Authorization Core feature set), or access control groups. To learn more, read Metadata Overview. */
    app_metadata: object;
    /** Indicates whether the user has been blocked. Importing enables subscribers to ensure that users remain blocked when migrating to Auth0. */
    blocked: boolean;
    /** Timestamp indicating when the user profile was first created. */
    created_at: Date;
    /** (unique) The user's email address. */
    email: string;
    /** Indicates whether the user has verified their email address. */
    email_verified: boolean;
    /** The user's family name. */
    family_name: string;
    /** The user's given name. */
    given_name: string;
    /** Custom fields that store info about a user that does not impact what they can or cannot access, such as work address, home address, or user preferences. To learn more, read Metadata Overview. */
    user_metadata: object;
    /** (unique) The user's username. */
    username: string;
    /** Contains info retrieved from the identity provider with which the user originally authenticates. Users may also link their profile to multiple identity providers; those identities will then also appear in this array. The contents of an individual identity provider object varies by provider. In some cases, it will also include an API Access Token to be used with the provider. */
    identities: Array<{
        /** Name of the Auth0 connection used to authenticate the user. */
        connection: string;
        /** Indicates whether the connection is a social one. */
        isSocial: boolean;
        /** Name of the entity that is authenticating the user, such as Facebook, Google, SAML, or your own provider. */
        provider: string;
        /** User's unique identifier for this connection/provider. */
        user_id: string;
        /** User info associated with the connection. When profiles are linked, it is populated with the associated user info for secondary accounts. */
        profileData: object;
        [key: string]: any;
    }>;
    /** IP address associated with the user's last login. */
    last_ip: string;
    /** Timestamp indicating when the user last logged in. If a user is blocked and logs in, the blocked session updates last_login. If you are using this property from inside a Rule using the user< object, its value will be associated with the login that triggered the rule; this is because rules execute after login. */
    last_login: Date;
    /** Timestamp indicating the last time the user's password was reset/changed. At user creation, this field does not exist. This property is only available for Database connections. */
    last_password_reset: Date;
    /** Number of times the user has logged in. If a user is blocked and logs in, the blocked session is counted in logins_count. */
    logins_count: number;
    /** List of multi-factor providers with which the user is enrolled. */
    multifactor: string;
    /** The user's full name. */
    name: string;
    /** The user's nickname. */
    nickname: string;
    /** The user's phone number. Only valid for users with SMS connections. */
    phone_number: string;
    /** Indicates whether the user has been verified their phone number. Only valid for users with SMS connections. */
    phone_verified: boolean;
    /** URL pointing to the user's profile picture. */
    picture: string;
    /** Timestamp indicating when the user's profile was last updated/modified. Changes to last_login are considered updates, so most of the time, updated_at will match last_login. */
    updated_at: Date;
    /** (unique) The user's identifier. Importing allows user records to be synchronized across multiple systems without using mapping tables. */
    user_id: string;
}
/**
 * ### Setup
 *
 * #### Callback URL
 * ```
 * https://example.com/api/auth/callback/auth0
 * ```
 *
 * #### Configuration
 *
 * Import the provider and configure it in your **Auth.js** initialization file:
 *
 * ```ts title="pages/api/auth/[...nextauth].ts"
 * import NextAuth from "next-auth"
 * import Auth0Provider from "next-auth/providers/auth0"
 *
 * export default NextAuth({
 *   providers: [
 *     Auth0Provider({
 *       clientId: process.env.AUTH0_ID,
 *       clientSecret: process.env.AUTH0_SECRET,
 *     }),
 *   ],
 * })
 * ```
 *
 * ### Resources
 *
 * - [Auth0 docs](https://auth0.com/docs/authenticate)
 *
 * ### Notes
 *
 * The Auth0 provider comes with a [default configuration](https://github.com/nextauthjs/next-auth/blob/main/packages/core/src/providers/auth0.ts). To override the defaults for your use case, check out [customizing a built-in OAuth provider](https://authjs.dev/guides/providers/custom-provider#override-default-options).
 *
 * ## Help
 *
 * If you think you found a bug in the default configuration, you can [open an issue](https://authjs.dev/new/provider-issue).
 *
 * Auth.js strictly adheres to the specification and it cannot take responsibility for any deviation from
 * the spec by the provider. You can open an issue, but if the problem is non-compliance with the spec,
 * we might not pursue a resolution. You can ask for more help in [Discussions](https://authjs.dev/new/github-discussions).
 */
export default function Auth0(config: OIDCUserConfig<Auth0Profile>): OIDCConfig<Auth0Profile>;
//# sourceMappingURL=auth0.d.ts.map