import { type SessionEntry, type SessionStore } from "../contracts.js"; export interface JsonlSessionStoreOptions { readonly path: string; readonly createDirectory?: boolean; } export interface SessionEntryParseError { readonly line: number; readonly message: string; readonly raw?: string; } export interface SessionEntryReadResult { readonly entries: SessionEntry[]; readonly errors: SessionEntryParseError[]; } export declare function createJsonlSessionStore(pathOrOptions: string | JsonlSessionStoreOptions): SessionStore; /** Read a JSONL session file and return both valid entries and per-line parse errors. */ export declare function readJsonlSessionEntries(path: string): Promise;