import { HttpResponse, RequestConfig } from '../../http/types.js'; import { BaseService } from '../base-service.js'; import { User } from '../common/user.js'; import { UserCollection } from './models/user-collection.js'; import { ListUsersParams } from './request-params.js'; /** * Service class for UsersService operations. * Provides methods to interact with UsersService-related API endpoints. * All methods return promises and handle request/response serialization automatically. */ export declare class UsersService extends BaseService { /** * Lists all users in the project. * @param {number} [params.limit] - defines the maximum number of items to return per page (default: 50) * @param {string} [params.startingAfter] - a cursor for use in pagination, points to the last ID in previous page * @param {string} [params.endingBefore] - a cursor for use in pagination, points to the first ID in next page * @param {string} [params.query] - filter users by their email address or external ID * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ listUsers(params?: ListUsersParams, requestConfig?: RequestConfig): Promise>; /** * Creates or updates a user with the provided details. The user will be associated with the project specified in the request context. * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - OK */ saveUser(body: User, requestConfig?: RequestConfig): Promise>; /** * Removes a user and all associated data from the project. * @param {string} userId - * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation. * @returns {Promise>} - No Content */ deleteUser(userId: string, requestConfig?: RequestConfig): Promise>; } //# sourceMappingURL=users-service.d.ts.map