import { MutationKey, UseMutationResult } from "@tanstack/react-query"; import { GleanCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.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 IndexingPeopleIndexTeamMutationVariables = { request: components.IndexTeamRequest; options?: RequestOptions; }; export type IndexingPeopleIndexTeamMutationData = void; export type IndexingPeopleIndexTeamMutationError = GleanBaseError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Index team * * @remarks * Adds a team or updates information about a team */ export declare function useIndexingPeopleIndexTeamMutation(options?: MutationHookOptions): UseMutationResult; export declare function mutationKeyIndexingPeopleIndexTeam(): MutationKey; export declare function buildIndexingPeopleIndexTeamMutation(client$: GleanCore, hookOptions?: RequestOptions): { mutationKey: MutationKey; mutationFn: (variables: IndexingPeopleIndexTeamMutationVariables) => Promise; }; //# sourceMappingURL=indexingPeopleIndexTeam.d.ts.map