import type { OfficeContentMetaRecord, OfficeContentRecord, OfficeContentStore } from './types'; /** 使用会话隔离的 IndexedDB 保存可 structured-clone 的冷内容。 */ export declare class IndexedDbContentStore implements OfficeContentStore { private readonly sessionId; private readonly namespace; private readonly metaRecords; private readonly createdAt; private readonly databasePromise; /** 最近一次成功写回当前会话访问时间的时间戳。 */ private lastTouchedAt; /** 区分并发会话写回事务的递增序号。 */ private touchSequence; /** 尚未完成的会话写回事务序号。 */ private pendingTouchSequence; private disposed; private disposePromise; constructor(sessionId: string, namespace: string); private ensureAvailable; private openDatabase; /** 初始化当前命名空间的会话记录,并建立后续访问时间节流基线。 */ private initializeSession; /** 只允许一个并发内容事务携带到期的会话访问时间写回。 */ private reserveSessionTouch; /** 把访问时间写入已经包含会话仓库的内容事务。 */ private writeSessionTouch; /** 根据事务结果提交或释放访问时间写回凭证。 */ private settleSessionTouch; getMeta(key: string): OfficeContentMetaRecord | undefined; get(key: string, signal?: AbortSignal): Promise | undefined>; put(record: OfficeContentRecord): Promise; pin(): () => undefined; delete(key: string): Promise; dispose(): Promise; }