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 IndexingPeopleDeleteMutationVariables = { request: components.DeleteEmployeeRequest; options?: RequestOptions; }; export type IndexingPeopleDeleteMutationData = void; export type IndexingPeopleDeleteMutationError = GleanBaseError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Delete employee * * @remarks * Delete an employee. Silently succeeds if employee is not present. */ export declare function useIndexingPeopleDeleteMutation(options?: MutationHookOptions): UseMutationResult; export declare function mutationKeyIndexingPeopleDelete(): MutationKey; export declare function buildIndexingPeopleDeleteMutation(client$: GleanCore, hookOptions?: RequestOptions): { mutationKey: MutationKey; mutationFn: (variables: IndexingPeopleDeleteMutationVariables) => Promise; }; //# sourceMappingURL=indexingPeopleDelete.d.ts.map