import { Workspace } from '@struktoai/mirage-core/workspace/workspace/workspace'; declare class StaleMirageFileError extends Error { readonly path: string; constructor(path: string); } declare class FileVersionTracker { private readonly ws; private readonly enabled; private readonly readVersions; private readonly editVersions; constructor(ws: Workspace, enabled?: boolean); private key; private currentVersion; private assertVersion; private recordWrite; read(path: string): Promise; readForEdit(path: string): Promise; write(path: string, content: string): Promise; writeEdit(path: string, content: string): Promise; } export { FileVersionTracker as F, StaleMirageFileError as S };