/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.0-rc5
 * Contact: hello@goauthentik.io
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import type { IntentEnum } from './IntentEnum';
import type { User } from './User';
/**
 * Token Serializer
 * @export
 * @interface Token
 */
export interface Token {
    /**
     *
     * @type {string}
     * @memberof Token
     */
    readonly pk: string;
    /**
     * Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
     * @type {string}
     * @memberof Token
     */
    managed?: string | null;
    /**
     *
     * @type {string}
     * @memberof Token
     */
    identifier: string;
    /**
     *
     * @type {IntentEnum}
     * @memberof Token
     */
    intent?: IntentEnum;
    /**
     *
     * @type {number}
     * @memberof Token
     */
    user?: number;
    /**
     *
     * @type {User}
     * @memberof Token
     */
    readonly userObj: User;
    /**
     *
     * @type {string}
     * @memberof Token
     */
    description?: string;
    /**
     *
     * @type {Date}
     * @memberof Token
     */
    expires?: Date | null;
    /**
     *
     * @type {boolean}
     * @memberof Token
     */
    expiring?: boolean;
}
/**
 * Check if a given object implements the Token interface.
 */
export declare function instanceOfToken(value: object): value is Token;
export declare function TokenFromJSON(json: any): Token;
export declare function TokenFromJSONTyped(json: any, ignoreDiscriminator: boolean): Token;
export declare function TokenToJSON(json: any): Token;
export declare function TokenToJSONTyped(value?: Omit<Token, 'pk' | 'user_obj'> | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=Token.d.ts.map