/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.0-rc1
 * 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 { User } from './User';
import type { OAuth2Provider } from './OAuth2Provider';
/**
 * Serializer for BaseGrantModel and ExpiringBaseGrant
 * @export
 * @interface ExpiringBaseGrantModel
 */
export interface ExpiringBaseGrantModel {
    /**
     *
     * @type {number}
     * @memberof ExpiringBaseGrantModel
     */
    readonly pk: number;
    /**
     *
     * @type {OAuth2Provider}
     * @memberof ExpiringBaseGrantModel
     */
    provider: OAuth2Provider;
    /**
     *
     * @type {User}
     * @memberof ExpiringBaseGrantModel
     */
    user: User;
    /**
     * Check if token is expired yet.
     * @type {boolean}
     * @memberof ExpiringBaseGrantModel
     */
    readonly isExpired: boolean;
    /**
     *
     * @type {Date}
     * @memberof ExpiringBaseGrantModel
     */
    expires?: Date | null;
    /**
     *
     * @type {Array<string>}
     * @memberof ExpiringBaseGrantModel
     */
    scope: Array<string>;
}
/**
 * Check if a given object implements the ExpiringBaseGrantModel interface.
 */
export declare function instanceOfExpiringBaseGrantModel(value: object): value is ExpiringBaseGrantModel;
export declare function ExpiringBaseGrantModelFromJSON(json: any): ExpiringBaseGrantModel;
export declare function ExpiringBaseGrantModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExpiringBaseGrantModel;
export declare function ExpiringBaseGrantModelToJSON(json: any): ExpiringBaseGrantModel;
export declare function ExpiringBaseGrantModelToJSONTyped(value?: Omit<ExpiringBaseGrantModel, 'pk' | 'is_expired'> | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=ExpiringBaseGrantModel.d.ts.map