import type { DatabaseSync } from 'node:sqlite'; import { type MessageUnderlineChange, type MessageUnderlineSnapshot } from './message-annotations.js'; /** Legacy local marks stay private; cloud cache and durable intents use separate account scopes. */ export declare class LocalMessageMarkStore { private readonly db; private readonly transaction; constructor(db: DatabaseSync, transaction: (work: () => void) => void); readCloudCache(scope: string, key: string): T | undefined; writeCloudCache(scope: string, key: string, value: unknown): void; stageCloudOperation(scope: string, key: string, value: { path: string; body: Record; }): void; cloudOperations(scope: string): { key: string; value: { path: string; body: Record; }; createdAt: number; }[]; completeCloudOperation(scope: string, key: string): void; read(scope: string, target: string, viewerId: number, digest: string): MessageUnderlineSnapshot; change(scope: string, target: string, viewerId: number, digest: string, change: MessageUnderlineChange): MessageUnderlineSnapshot; } //# sourceMappingURL=local-message-marks.d.ts.map