import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; export declare class People extends ClientSDK { /** * Beta: Get user information * * @remarks * Gives various information that would help in debugging related to a particular user. Currently in beta, might undergo breaking changes without prior notice. * * Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information. */ debug(debugUserRequest: components.DebugUserRequest, datasource: string, options?: RequestOptions): Promise; /** * Get user count * * @remarks * Fetches user count for the specified custom datasource. * * Tip: Use [/debug/{datasource}/status](https://developers.glean.com/indexing/debugging/datasource-status) for richer information. * * @deprecated method: Deprecated on 2026-02-03, removal scheduled for 2026-10-15: Endpoint is deprecated. */ count(request: components.GetUserCountRequest, options?: RequestOptions): Promise; /** * Index employee * * @remarks * Adds an employee or replaces the existing information about an employee. */ index(request: components.IndexEmployeeRequest, options?: RequestOptions): Promise; /** * Bulk index employees * * @remarks * Replaces all the currently indexed employees using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints. * * @deprecated method: Deprecated on 2026-02-03, removal scheduled for 2026-10-15: Endpoint is deprecated. */ bulkIndex(request: components.BulkIndexEmployeesRequest, options?: RequestOptions): Promise; /** * Schedules the processing of uploaded employees and teams * * @remarks * Schedules the immediate processing of employees and teams uploaded through the indexing API. By default all uploaded people data will be processed asynchronously but this API can be used to schedule its processing on demand. */ processAllEmployeesAndTeams(options?: RequestOptions): Promise; /** * Delete employee * * @remarks * Delete an employee. Silently succeeds if employee is not present. */ delete(request: components.DeleteEmployeeRequest, options?: RequestOptions): Promise; /** * Index team * * @remarks * Adds a team or updates information about a team */ indexTeam(request: components.IndexTeamRequest, options?: RequestOptions): Promise; /** * Delete team * * @remarks * Delete a team based on provided id. */ deleteTeam(request: components.DeleteTeamRequest, options?: RequestOptions): Promise; /** * Bulk index teams * * @remarks * Replaces all the currently indexed teams using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints. */ bulkIndexTeams(request: components.BulkIndexTeamsRequest, options?: RequestOptions): Promise; } //# sourceMappingURL=people.d.ts.map