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 { buildLlmResponsesGetQuery, LlmResponsesGetQueryData, prefetchLlmResponsesGet, queryKeyLlmResponsesGet } from "./llmResponsesGet.core.js"; export { buildLlmResponsesGetQuery, type LlmResponsesGetQueryData, prefetchLlmResponsesGet, queryKeyLlmResponsesGet, }; export type LlmResponsesGetQueryError = SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; export { GetAcceptEnum } from "../funcs/llmResponsesGet.js"; /** * Retrieve response by ID with status and results * * @remarks * Retrieves a previously created agent response by its unique ID. When stream=true, returns Server-Sent Events for real-time updates on in-progress background responses. */ export declare function useLlmResponsesGet(request: operations.GetResponseRequest, options?: QueryHookOptions): UseQueryResult; /** * Retrieve response by ID with status and results * * @remarks * Retrieves a previously created agent response by its unique ID. When stream=true, returns Server-Sent Events for real-time updates on in-progress background responses. */ export declare function useLlmResponsesGetSuspense(request: operations.GetResponseRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setLlmResponsesGetData(client: QueryClient, queryKeyBase: [ responseId: string, parameters: { include?: Array | undefined; includeObfuscation?: boolean | undefined; startingAfter?: number | undefined; stream?: boolean | undefined; xOnBehalfOf?: string | undefined; } ], data: LlmResponsesGetQueryData): LlmResponsesGetQueryData | undefined; export declare function invalidateLlmResponsesGet(client: QueryClient, queryKeyBase: TupleToPrefixes<[ responseId: string, parameters: { include?: Array | undefined; includeObfuscation?: boolean | undefined; startingAfter?: number | undefined; stream?: boolean | undefined; xOnBehalfOf?: string | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllLlmResponsesGet(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=llmResponsesGet.d.ts.map