/** * Record normalizer for the continuity store. * * Extracted from `continuity/index.ts` to satisfy the ≤500 LOC gate (GA-4). * Converts a raw parsed JSON value into a typed `SessionContinuityRecord`, * applying safe defaults and dropping invalid fields. * * @module task-management/continuity/continuity-normalize */ import type { SessionContinuityRecord } from "../../shared/types.js"; /** * Normalizes a raw parsed JSON entry into a typed SessionContinuityRecord. * * Returns null when the value is not a non-null object. The normalizer * applies safe defaults for missing fields and uses type predicates to * avoid throwing on malformed input — the caller decides whether to * discard the record. * * @param sessionID - The session ID for the record (from map key). * @param value - The raw parsed JSON value. * @returns Normalized record, or null if input is not a valid object. */ export declare function normalizeContinuityRecord(sessionID: string, value: unknown): SessionContinuityRecord | null; //# sourceMappingURL=continuity-normalize.d.ts.map