type SnapshotEntry = { mode: string; type: string; name: string; object: string; size: number; }; type SnapshotFileSystem = { lstat(path: string): Promise<{ isDirectory(): boolean; isFile(): boolean; isSymbolicLink(): boolean; }>; readFile(path: string): Promise; readdir(path: string): Promise; snapshotEntries(path: unknown): SnapshotEntry[]; snapshotFile(path: unknown): Promise; snapshotEntry?(path: string): SnapshotEntry | null | undefined; }; export declare function readEventDelta(root: string, paths: { eventsPath: string; }, options: { objectIdLength: number; legacy?: boolean; }, filesystem: SnapshotFileSystem, cursor: { length: number; digest: string; }): Promise<{ outcome: string; length: number; digest: string; after: { length: number; digest: string; }; events: import("../event-codec/grammar.ts").IdeaEvent[]; sequence: number; }>; export {}; //# sourceMappingURL=cursor.d.ts.map