import { InvalidateQueryFilters, QueryClient, UseQueryResult, UseSuspenseQueryResult } from "@tanstack/react-query"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import * as errors from "../models/errors/index.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 { AgentVersionsGetAgentVersionQueryData, buildAgentVersionsGetAgentVersionQuery, prefetchAgentVersionsGetAgentVersion, queryKeyAgentVersionsGetAgentVersion } from "./agentVersionsGetAgentVersion.core.js"; export { type AgentVersionsGetAgentVersionQueryData, buildAgentVersionsGetAgentVersionQuery, prefetchAgentVersionsGetAgentVersion, queryKeyAgentVersionsGetAgentVersion, }; export type AgentVersionsGetAgentVersionQueryError = errors.ErrorEnvelope | SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Retrieve an agent version */ export declare function useAgentVersionsGetAgentVersion(request: operations.GetAgentVersionRequest, options?: QueryHookOptions): UseQueryResult; /** * Retrieve an agent version */ export declare function useAgentVersionsGetAgentVersionSuspense(request: operations.GetAgentVersionRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setAgentVersionsGetAgentVersionData(client: QueryClient, queryKeyBase: [ agentId: string, version: number, parameters: { xOnBehalfOf?: string | undefined; } ], data: AgentVersionsGetAgentVersionQueryData): AgentVersionsGetAgentVersionQueryData | undefined; export declare function invalidateAgentVersionsGetAgentVersion(client: QueryClient, queryKeyBase: TupleToPrefixes<[ agentId: string, version: number, parameters: { xOnBehalfOf?: string | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllAgentVersionsGetAgentVersion(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=agentVersionsGetAgentVersion.d.ts.map