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 { buildLlmConversationsListItemsQuery, LlmConversationsListItemsQueryData, prefetchLlmConversationsListItems, queryKeyLlmConversationsListItems } from "./llmConversationsListItems.core.js"; export { buildLlmConversationsListItemsQuery, type LlmConversationsListItemsQueryData, prefetchLlmConversationsListItems, queryKeyLlmConversationsListItems, }; export type LlmConversationsListItemsQueryError = SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * List conversation items * * @remarks * List all items for a conversation with the given ID. */ export declare function useLlmConversationsListItems(request: operations.ConversationsItemsListRequest, options?: QueryHookOptions): UseQueryResult; /** * List conversation items * * @remarks * List all items for a conversation with the given ID. */ export declare function useLlmConversationsListItemsSuspense(request: operations.ConversationsItemsListRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setLlmConversationsListItemsData(client: QueryClient, queryKeyBase: [ conversationId: string, parameters: { after?: string | undefined; include?: Array | undefined; limit?: number | undefined; order?: operations.QueryParamOrder | undefined; xOnBehalfOf?: string | undefined; } ], data: LlmConversationsListItemsQueryData): LlmConversationsListItemsQueryData | undefined; export declare function invalidateLlmConversationsListItems(client: QueryClient, queryKeyBase: TupleToPrefixes<[ conversationId: string, parameters: { after?: string | undefined; include?: Array | undefined; limit?: number | undefined; order?: operations.QueryParamOrder | undefined; xOnBehalfOf?: string | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllLlmConversationsListItems(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=llmConversationsListItems.d.ts.map