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 { AgentsGetAgentQueryData, buildAgentsGetAgentQuery, prefetchAgentsGetAgent, queryKeyAgentsGetAgent } from "./agentsGetAgent.core.js"; export { type AgentsGetAgentQueryData, buildAgentsGetAgentQuery, prefetchAgentsGetAgent, queryKeyAgentsGetAgent, }; export type AgentsGetAgentQueryError = errors.ErrorEnvelope | SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Retrieve an agent */ export declare function useAgentsGetAgent(request: operations.GetAgentRequest, options?: QueryHookOptions): UseQueryResult; /** * Retrieve an agent */ export declare function useAgentsGetAgentSuspense(request: operations.GetAgentRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setAgentsGetAgentData(client: QueryClient, queryKeyBase: [ agentId: string, parameters: { xOnBehalfOf?: string | undefined; } ], data: AgentsGetAgentQueryData): AgentsGetAgentQueryData | undefined; export declare function invalidateAgentsGetAgent(client: QueryClient, queryKeyBase: TupleToPrefixes<[ agentId: string, parameters: { xOnBehalfOf?: string | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllAgentsGetAgent(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=agentsGetAgent.d.ts.map