import type { ScheduleSpec, ScheduleUpdateOptions } from '../../core/types.ts'; import type { OperationFault } from '../operation-fault.ts'; export { isOperationFault } from './operation-helpers.ts'; export type ScheduleMutableOptionsInput = { description?: unknown; overlap?: unknown; backfill?: unknown; jitter?: unknown; revisionPolicy?: unknown; }; /** Validate the mutable schedule options shared by create and update. */ export declare function validateScheduleMutableOptions(input: ScheduleMutableOptionsInput): ScheduleUpdateOptions; export declare function mapScheduleErrorToFault(scheduleId: string, error: unknown): OperationFault; /** * Validate the mutually exclusive schedule cadence fields (`cronExpression` or * `every`) present on both create and update inputs. Exactly one must be * supplied. Throws an `InvalidParams` fault on the first validation failure so * REST and JSON-RPC callers receive identical error messages. */ export declare function validateScheduleInputCadence(input: { cronExpression?: unknown; every?: unknown; }): ScheduleSpec;