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 { buildLlmBatchesListQuery, LlmBatchesListQueryData, prefetchLlmBatchesList, queryKeyLlmBatchesList } from "./llmBatchesList.core.js"; export { buildLlmBatchesListQuery, type LlmBatchesListQueryData, prefetchLlmBatchesList, queryKeyLlmBatchesList, }; export type LlmBatchesListQueryError = SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * List batches * * @remarks * Returns a paginated list of batches owned by the authenticated user. */ export declare function useLlmBatchesList(request: operations.ListBatchesRequest, options?: QueryHookOptions): UseQueryResult; /** * List batches * * @remarks * Returns a paginated list of batches owned by the authenticated user. */ export declare function useLlmBatchesListSuspense(request: operations.ListBatchesRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setLlmBatchesListData(client: QueryClient, queryKeyBase: [ parameters: { after?: string | undefined; limit?: number | undefined; xOnBehalfOf?: string | undefined; } ], data: LlmBatchesListQueryData): LlmBatchesListQueryData | undefined; export declare function invalidateLlmBatchesList(client: QueryClient, queryKeyBase: TupleToPrefixes<[ parameters: { after?: string | undefined; limit?: number | undefined; xOnBehalfOf?: string | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllLlmBatchesList(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=llmBatchesList.d.ts.map