import { InvalidateQueryFilters, QueryClient, UseQueryResult, UseSuspenseQueryResult } from "@tanstack/react-query"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKError } from "../models/errors/sdkerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import * as operations from "../models/operations/index.js"; import { QueryHookOptions, SuspenseQueryHookOptions, TupleToPrefixes } from "./_types.js"; import { buildLlmBatchesGetQuery, LlmBatchesGetQueryData, prefetchLlmBatchesGet, queryKeyLlmBatchesGet } from "./llmBatchesGet.core.js"; export { buildLlmBatchesGetQuery, type LlmBatchesGetQueryData, prefetchLlmBatchesGet, queryKeyLlmBatchesGet, }; export type LlmBatchesGetQueryError = SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Get a batch * * @remarks * Retrieves a batch by its ID. */ export declare function useLlmBatchesGet(request: operations.GetBatchRequest, options?: QueryHookOptions): UseQueryResult; /** * Get a batch * * @remarks * Retrieves a batch by its ID. */ export declare function useLlmBatchesGetSuspense(request: operations.GetBatchRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setLlmBatchesGetData(client: QueryClient, queryKeyBase: [ batchId: string, parameters: { xOnBehalfOf?: string | undefined; } ], data: LlmBatchesGetQueryData): LlmBatchesGetQueryData | undefined; export declare function invalidateLlmBatchesGet(client: QueryClient, queryKeyBase: TupleToPrefixes<[ batchId: string, parameters: { xOnBehalfOf?: string | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllLlmBatchesGet(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=llmBatchesGet.d.ts.map