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 IndexingPeopleDebugMutationVariables = { debugUserRequest: components.DebugUserRequest; datasource: string; options?: RequestOptions; }; export type IndexingPeopleDebugMutationData = components.DebugUserResponse; export type IndexingPeopleDebugMutationError = GleanBaseError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * 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. */ export declare function useIndexingPeopleDebugMutation(options?: MutationHookOptions): UseMutationResult; export declare function mutationKeyIndexingPeopleDebug(): MutationKey; export declare function buildIndexingPeopleDebugMutation(client$: GleanCore, hookOptions?: RequestOptions): { mutationKey: MutationKey; mutationFn: (variables: IndexingPeopleDebugMutationVariables) => Promise; }; //# sourceMappingURL=indexingPeopleDebug.d.ts.map