import { User } from '../../schemas/User.js'; import { TeamRetroService } from '../../services/TeamRetro.service.js'; declare class UsersService extends TeamRetroService { /** * List users with optional pagination * @param params Optional parameters for pagination * @returns List of users with pagination info */ listUsers(params?: { offset?: number; limit?: number; }): Promise>; /** * Adds a new user to the system or updates an existing user. * * @param email - The email of the user to add or update, used as an identifier in the API path * @param userData - The user data to be added * @param userData.name - The name of the user, can be null * @param userData.emailAddress - The email address of the user * @returns A promise that resolves to a SingleApiResponse containing the created or updated User */ addUser(email: string, userData: { name: string | null; emailAddress: string; }): Promise>; /** * Update an existing user's information * @param email The user's current email address * @param updateData The fields to update * @returns Updated user information */ updateUser(email: string, updateData: { name?: string | null; emailAddress?: string; }): Promise>; deleteUser(email: string): Promise>; /** * Get a single user by email * @param email The user's email address * @returns User information */ getUser(email: string): Promise>; } export declare const usersService: UsersService; export {};