export interface MigrationContext { readonly hasServices: boolean; } /** * Dispatches schema-version handling on raw state JSON. * - Rejects unknown / missing versions. * - Bumps v1 → v2 in-place when the companion config has services[]. * - Does NOT run Zod full-shape validation — caller is responsible. * - Mutates the input object; callers may rely on that side effect. * * Wave 3b will extend this module to bump v2 → v3 when per-service * state fields are introduced. */ export declare function dispatchStateMigration(raw: unknown, ctx: MigrationContext, file: string): asserts raw is Record & { 'schema-version': 1 | 2 | 3 | 4; }; //# sourceMappingURL=state-version-dispatch.d.ts.map