import type { SessionEntry } from "../../session-manager-types.ts"; import type { SessionCwdMatcher, SessionListQuery, SessionRecordHeader, SessionSnapshot, SessionStore, SessionSummary, SessionWriteOptions, StorageDescriptor } from "./types.js"; export declare class MemorySessionStore implements SessionStore { private records; private closed; private readonly cwdMatcher?; constructor(cwdMatcher?: SessionCwdMatcher); get descriptor(): StorageDescriptor; create(header: SessionRecordHeader, entries: readonly SessionEntry[]): Promise<{ readonly lastSeq: number; }>; append(sessionId: string, entries: readonly SessionEntry[], options: SessionWriteOptions): Promise<{ readonly lastSeq: number; }>; replace(sessionId: string, header: SessionRecordHeader, entries: readonly SessionEntry[], options: SessionWriteOptions): Promise<{ readonly lastSeq: number; }>; load(sessionId: string): Promise; readHeader(sessionId: string): Promise; delete(sessionId: string): Promise; list(query: SessionListQuery): AsyncIterable; findMostRecent(query: { readonly cwd: string; readonly includeInternal?: boolean; }): Promise; close(): Promise; reopen(): Promise; private assertOpen; private read; private forWrite; private encode; } //# sourceMappingURL=memory-session-store.d.ts.map