import { type ClassicStateProjection, type LegacyStateSummary } from './classic-state.js'; /** 同一 controller 串行提交;嵌套业务操作复用当前事务恢复边界。 */ export declare function withClassicStateMutation(changeDir: string, operation: () => Promise): Promise; export interface ReadClassicStateOptions { migrate?: boolean; } export declare function readClassicState(changeDir: string, options?: ReadClassicStateOptions): Promise; export declare function readLegacyState(changeDir: string): Promise; export declare function writeClassicState(changeDir: string, projection: Omit & { unknownKeys?: string[]; }, options?: { beforeCommit?: () => void | Promise; }): Promise; //# sourceMappingURL=classic-store.d.ts.map