/**
 * Compatibility helpers for migrating deprecated monitor threshold keys.
 * @module sync/legacy-monitor-thresholds
 */
import { type JsonObject } from "./json-path.js";
/** Result of applying legacy monitor-threshold migration to one config. */
export interface LegacyMonitorThresholdMigration {
    /** Updated committed config object */
    readonly committed: JsonObject;
    /** Reportable migration actions */
    readonly actions: readonly {
        key: string;
        detail: string;
    }[];
}
/** Minimal sync-state shape needed to append migration actions. */
interface MigrationState {
    /** Updated committed config object */
    readonly committed: JsonObject;
    /** Existing reportable sync actions */
    readonly actions: readonly {
        readonly key: string;
        readonly kind: string;
        readonly detail: string;
    }[];
}
/**
 * Move legacy monitor thresholds to provider-neutral keys when provenance
 * proves Lisa populated the legacy value.
 * @param committed - Committed config object
 * @returns Updated config and migration actions
 */
export declare function migrateLegacyMonitorThresholds(committed: JsonObject): LegacyMonitorThresholdMigration;
/**
 * Append legacy monitor-threshold migration actions to a sync state.
 * @param state - Sync state containing committed config and actions
 * @param entryKey - Registry entry key currently being populated
 * @returns Updated state with migration actions appended
 */
export declare function applyLegacyMonitorThresholdMigration<T extends MigrationState>(state: T, entryKey: string): T;
export {};
//# sourceMappingURL=legacy-monitor-thresholds.d.ts.map