UNPKG

388 BTypeScriptView Raw
1import { CachedFileSystem } from '../cached-file-system';
2import { StatePersistence, StaticProgramState } from '@fimbul/ymir';
3export declare class DefaultStatePersistence implements StatePersistence {
4 private fs;
5 constructor(fs: CachedFileSystem);
6 loadState(project: string): StaticProgramState | undefined;
7 saveState(project: string, state: StaticProgramState): void;
8}