import { MutationKey, UseMutationResult } from "@tanstack/react-query"; import { SDKCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; 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 { MutationHookOptions } from "./_types.js"; export type AgentSchedulesCreateAgentScheduleMutationVariables = { request: operations.CreateAgentScheduleRequest; options?: RequestOptions; }; export type AgentSchedulesCreateAgentScheduleMutationData = components.AgentSchedule; export type AgentSchedulesCreateAgentScheduleMutationError = errors.ErrorEnvelope | SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Create an agent schedule * * @remarks * Creates a Temporal-backed one-time, interval, or cron schedule that starts normal saved agent runs. */ export declare function useAgentSchedulesCreateAgentScheduleMutation(options?: MutationHookOptions): UseMutationResult; export declare function mutationKeyAgentSchedulesCreateAgentSchedule(): MutationKey; export declare function buildAgentSchedulesCreateAgentScheduleMutation(client$: SDKCore, hookOptions?: RequestOptions): { mutationKey: MutationKey; mutationFn: (variables: AgentSchedulesCreateAgentScheduleMutationVariables) => Promise; }; //# sourceMappingURL=agentSchedulesCreateAgentSchedule.d.ts.map