/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.12.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 { UserSelfGroups } from './UserSelfGroups';
import type { UserTypeEnum } from './UserTypeEnum';
/**
 * User Serializer for information a user can retrieve about themselves
 * @export
 * @interface UserSelf
 */
export interface UserSelf {
    /**
     *
     * @type {number}
     * @memberof UserSelf
     */
    readonly pk: number;
    /**
     * Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.
     * @type {string}
     * @memberof UserSelf
     */
    username: string;
    /**
     * User's display name.
     * @type {string}
     * @memberof UserSelf
     */
    name: string;
    /**
     * Designates whether this user should be treated as active. Unselect this instead of deleting accounts.
     * @type {boolean}
     * @memberof UserSelf
     */
    readonly isActive: boolean;
    /**
     *
     * @type {boolean}
     * @memberof UserSelf
     */
    readonly isSuperuser: boolean;
    /**
     *
     * @type {Array<UserSelfGroups>}
     * @memberof UserSelf
     */
    readonly groups: Array<UserSelfGroups>;
    /**
     *
     * @type {string}
     * @memberof UserSelf
     */
    email?: string;
    /**
     * User's avatar, either a http/https URL or a data URI
     * @type {string}
     * @memberof UserSelf
     */
    readonly avatar: string;
    /**
     *
     * @type {string}
     * @memberof UserSelf
     */
    readonly uid: string;
    /**
     * Get user settings with brand and group settings applied
     * @type {{ [key: string]: any; }}
     * @memberof UserSelf
     */
    readonly settings: {
        [key: string]: any;
    };
    /**
     *
     * @type {UserTypeEnum}
     * @memberof UserSelf
     */
    type?: UserTypeEnum;
    /**
     * Get all system permissions assigned to the user
     * @type {Array<string>}
     * @memberof UserSelf
     */
    readonly systemPermissions: Array<string>;
}
/**
 * Check if a given object implements the UserSelf interface.
 */
export declare function instanceOfUserSelf(value: object): value is UserSelf;
export declare function UserSelfFromJSON(json: any): UserSelf;
export declare function UserSelfFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserSelf;
export declare function UserSelfToJSON(json: any): UserSelf;
export declare function UserSelfToJSONTyped(value?: Omit<UserSelf, 'pk' | 'is_active' | 'is_superuser' | 'groups' | 'avatar' | 'uid' | 'settings' | 'system_permissions'> | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=UserSelf.d.ts.map