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 IndexingDocumentsDebugManyMutationVariables = { debugDocumentsRequest: components.DebugDocumentsRequest; datasource: string; options?: RequestOptions; }; export type IndexingDocumentsDebugManyMutationData = components.DebugDocumentsResponse; export type IndexingDocumentsDebugManyMutationError = GleanBaseError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Beta: Get information of a batch of documents * * @remarks * Gives various information that would help in debugging related to a batch of documents. 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 useIndexingDocumentsDebugManyMutation(options?: MutationHookOptions): UseMutationResult; export declare function mutationKeyIndexingDocumentsDebugMany(): MutationKey; export declare function buildIndexingDocumentsDebugManyMutation(client$: GleanCore, hookOptions?: RequestOptions): { mutationKey: MutationKey; mutationFn: (variables: IndexingDocumentsDebugManyMutationVariables) => Promise; }; //# sourceMappingURL=indexingDocumentsDebugMany.d.ts.map