import { type ChatSummary, type SyncState } from "../chat/types.js"; import { type DrizzleExecutor } from "../drizzle.js"; /** * Projects a global sync-event range into chats, removals, and product areas visible to one user. * Generation resets, retention bounds, paging, and current access checks are combined here so a client cannot retain revoked or invisible state. */ export declare function syncGetDifference(executor: DrizzleExecutor, input: { userId: string; generation: string; fromSequence: number; untilSequence?: number; limit: number; }): Promise<{ kind: "empty" | "difference" | "slice" | "reset"; changedChats: ChatSummary[]; removedChatIds: string[]; areas: string[]; state: SyncState; targetState: SyncState; }>; //# sourceMappingURL=syncGetDifference.d.ts.map