import type { Schedule } from '../storage/domains/schedules/base.js';
/**
 * Comparators for deciding whether a stored schedule row still matches what
 * code declares. Shared by both declarative sync paths — workflow schedules
 * (`createWorkflow({ schedule })`) and file-based agent schedules — so the two
 * cannot drift on what counts as "unchanged" and start rewriting rows on every
 * boot.
 */
/**
 * Stable JSON-shape comparison for two `Schedule.target` values. Uses
 * JSON.stringify because targets are plain JSON-serializable objects (the
 * storage layer round-trips them through the same encoding). Covers the
 * `inputData` / `initialState` / `requestContext` payload fields that we
 * want to detect changes on across redeploys.
 */
export declare function targetsEqual(a: Schedule['target'] | undefined, b: Schedule['target']): boolean;
/** See {@link targetsEqual}. Same approach for free-form metadata. */
export declare function metadataEqual(a: Record<string, unknown> | null | undefined, b: Record<string, unknown> | undefined): boolean;
//# sourceMappingURL=row-diff.d.ts.map