import { UserBuilder } from "./user.builder"; export declare class User { private _username?; private _clientId?; private _email; private _groups; constructor(builder: UserBuilder); /** * Get the username of the user * @returns {string | undefined} - The username */ get username(): string | undefined; /** * Get the client ID (for machine-to-machine authentication) * @returns {string | undefined} - The client ID */ get clientId(): string | undefined; /** * Get the email address of the user * @returns {string} - The email address */ get email(): string; /** * Get the groups of the user * @returns {string[]} - The groups */ get groups(): string[]; /** * Check if the user has a group * @param {string} group - The group * @returns {boolean} - True if the user has the group */ hasGroup(group: string): boolean; /** * Check if the user has at least one of the required groups * @param {string[]} groups - The required groups * @returns {boolean} - True if the user has at least one of the required groups */ hasSomeGroup(groups: string[]): boolean; /** * Check if the user has the required groups * @param {string[]} groups - The required groups * @returns {boolean} - True if the user has the required groups */ hasAllGroups(groups: string[]): boolean; } //# sourceMappingURL=user.model.d.ts.map