import type { JsonlSessionMetadata, SessionStorage, SessionTreeEntry } from "../../types.js"; export declare function loadJsonlSessionMetadata(filePath: string): Promise; export declare class JsonlSessionStorage implements SessionStorage { private readonly filePath; private readonly metadata; private entries; private byId; private labelsById; private currentLeafId; private constructor(); static open(filePath: string): Promise; static create(filePath: string, options: { cwd: string; sessionId: string; parentSessionPath?: string; }): Promise; getMetadata(): Promise; getLeafId(): Promise; setLeafId(leafId: string | null): Promise; createEntryId(): Promise; appendEntry(entry: SessionTreeEntry): Promise; getEntry(id: string): Promise; findEntries(type: TType): Promise>>; getLabel(id: string): Promise; getPathToRoot(leafId: string | null): Promise; getEntries(): Promise; } //# sourceMappingURL=jsonl.d.ts.map