import { MutationKey, UseMutationResult } from "@tanstack/react-query"; import { GleanCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import { GleanBaseError } from "../models/errors/gleanbaseerror.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import { MutationHookOptions } from "./_types.js"; export type IndexingPeopleProcessAllEmployeesAndTeamsMutationVariables = { options?: RequestOptions; }; export type IndexingPeopleProcessAllEmployeesAndTeamsMutationData = void; export type IndexingPeopleProcessAllEmployeesAndTeamsMutationError = GleanBaseError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * 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. */ export declare function useIndexingPeopleProcessAllEmployeesAndTeamsMutation(options?: MutationHookOptions): UseMutationResult; export declare function mutationKeyIndexingPeopleProcessAllEmployeesAndTeams(): MutationKey; export declare function buildIndexingPeopleProcessAllEmployeesAndTeamsMutation(client$: GleanCore, hookOptions?: RequestOptions): { mutationKey: MutationKey; mutationFn: (variables: IndexingPeopleProcessAllEmployeesAndTeamsMutationVariables) => Promise; }; //# sourceMappingURL=indexingPeopleProcessAllEmployeesAndTeams.d.ts.map