import { MutationKey, UseMutationResult } from "@tanstack/react-query"; import { SDKCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.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 AgentSchedulesDeleteAgentScheduleMutationVariables = { request: operations.DeleteAgentScheduleRequest; options?: RequestOptions; }; export type AgentSchedulesDeleteAgentScheduleMutationData = operations.DeleteAgentScheduleResponseBody; export type AgentSchedulesDeleteAgentScheduleMutationError = errors.ErrorEnvelope | SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Delete an agent schedule */ export declare function useAgentSchedulesDeleteAgentScheduleMutation(options?: MutationHookOptions): UseMutationResult; export declare function mutationKeyAgentSchedulesDeleteAgentSchedule(): MutationKey; export declare function buildAgentSchedulesDeleteAgentScheduleMutation(client$: SDKCore, hookOptions?: RequestOptions): { mutationKey: MutationKey; mutationFn: (variables: AgentSchedulesDeleteAgentScheduleMutationVariables) => Promise; }; //# sourceMappingURL=agentSchedulesDeleteAgentSchedule.d.ts.map