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 { AgentSchedulesGetAgentScheduleQueryData, buildAgentSchedulesGetAgentScheduleQuery, prefetchAgentSchedulesGetAgentSchedule, queryKeyAgentSchedulesGetAgentSchedule } from "./agentSchedulesGetAgentSchedule.core.js"; export { type AgentSchedulesGetAgentScheduleQueryData, buildAgentSchedulesGetAgentScheduleQuery, prefetchAgentSchedulesGetAgentSchedule, queryKeyAgentSchedulesGetAgentSchedule, }; export type AgentSchedulesGetAgentScheduleQueryError = errors.ErrorEnvelope | SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Retrieve an agent schedule */ export declare function useAgentSchedulesGetAgentSchedule(request: operations.GetAgentScheduleRequest, options?: QueryHookOptions): UseQueryResult; /** * Retrieve an agent schedule */ export declare function useAgentSchedulesGetAgentScheduleSuspense(request: operations.GetAgentScheduleRequest, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setAgentSchedulesGetAgentScheduleData(client: QueryClient, queryKeyBase: [ agentId: string, scheduleId: string, parameters: { xOnBehalfOf?: string | undefined; } ], data: AgentSchedulesGetAgentScheduleQueryData): AgentSchedulesGetAgentScheduleQueryData | undefined; export declare function invalidateAgentSchedulesGetAgentSchedule(client: QueryClient, queryKeyBase: TupleToPrefixes<[ agentId: string, scheduleId: string, parameters: { xOnBehalfOf?: string | undefined; } ]>, filters?: Omit): Promise; export declare function invalidateAllAgentSchedulesGetAgentSchedule(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=agentSchedulesGetAgentSchedule.d.ts.map