import { type Database } from "./database.js"; export declare function advanceWorkspaceInteractionRevision(db: Database, accountId: string, workspaceId: string): Promise; export declare function readWorkspaceInteractionRevision(db: Database, workspaceId: string): Promise; export type WorkspaceInteractionRevisionState = { revision: number; updatedAt: Date | null; }; /** Read the latest cursor while already inside the workspace RLS boundary. */ export declare function readWorkspaceInteractionRevisionState(db: Database, workspaceId: string): Promise; /** Standalone tenant-scoped cursor read used by the workspace SSE projection. */ export declare function getWorkspaceInteractionRevisionState(db: Database, input: { accountId: string; workspaceId: string; }): Promise;