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 { AgentRunsGetAgentRunQueryData, buildAgentRunsGetAgentRunQuery, prefetchAgentRunsGetAgentRun, queryKeyAgentRunsGetAgentRun } from "./agentRunsGetAgentRun.core.js"; export { type AgentRunsGetAgentRunQueryData, buildAgentRunsGetAgentRunQuery, prefetchAgentRunsGetAgentRun, queryKeyAgentRunsGetAgentRun, }; export type AgentRunsGetAgentRunQueryError = errors.ErrorEnvelope | SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Retrieve an agent run */ export declare function useAgentRunsGetAgentRun(request: operations.GetAgentRunRequest, options?: QueryHookOptions): UseQueryResult; /** * Retrieve an agent run */ export declare function useAgentRunsGetAgentRunSuspense(request: operations.GetAgentRunRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setAgentRunsGetAgentRunData(client: QueryClient, queryKeyBase: [ agentId: string, runId: string, parameters: { xOnBehalfOf?: string | undefined; } ], data: AgentRunsGetAgentRunQueryData): AgentRunsGetAgentRunQueryData | undefined; export declare function invalidateAgentRunsGetAgentRun(client: QueryClient, queryKeyBase: TupleToPrefixes<[ agentId: string, runId: string, parameters: { xOnBehalfOf?: string | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllAgentRunsGetAgentRun(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=agentRunsGetAgentRun.d.ts.map