/**
 * Realtime collaboration surface for `@actuate-media/cms-core`.
 *
 * - `createRealtimeGateway` — transport-agnostic gateway that owns rooms,
 *   debounces persistence, and reaps idle documents. Consumers wrap their
 *   server's socket primitive in a `WebSocketLike` adapter and feed it via
 *   `gateway.handleConnection(socket, req)`.
 * - `createPrismaDocumentPersistence` — Prisma-backed implementation of
 *   `DocumentPersistence` against the `DocumentCRDT` table.
 *
 * See `packages/realtime/README.md` for the protocol details and
 * `docs/roadmap-status.md` for the Phase 3 slice plan.
 */
export { createRealtimeGateway, type AttachRealtimeGatewayOptions, type AuthenticatedConnection, type RealtimeGateway, type UpgradeRequestInfo, type WebSocketLike, } from './gateway.js';
export { createPrismaDocumentPersistence, type PrismaDocumentCRDTClient, type PrismaDocumentPersistenceOptions, } from './persistence.js';
export { createComment, deleteComment, listComments, normaliseBody, parseAnchor, reopenComment, resolveComment, toCommentDTO, updateComment, DEFAULT_COMMENT_LIST_PAGE_SIZE, MAX_COMMENT_BODY_LENGTH, MAX_COMMENT_LIST_PAGE_SIZE, type CommentAnchor, type CommentDTO, type CommentsDB, type CommentsError, type CommentsResult, type CreateCommentInput, type DocumentCommentRow, type ListCommentsFilter, type UpdateCommentInput, } from './comments.js';
export { createNotification, excerptForNotification, extractMentionedUserIds, isNotificationKind, listForUser as listNotificationsForUser, markAllRead as markAllNotificationsRead, markRead as markNotificationRead, toNotificationDTO, unreadCount as notificationsUnreadCount, DEFAULT_NOTIFICATION_LIST_PAGE_SIZE, MAX_NOTIFICATION_LIST_PAGE_SIZE, type CreateNotificationInput, type DocumentNotificationRow, type ListNotificationsFilter, type NotificationDTO, type NotificationKind, type NotificationPayload, type NotificationsDB, type NotificationsError, type NotificationsResult, } from './notifications.js';
export { publishNotification, subscribeUserNotifications, notificationSubscriberCount, type NotificationListener, } from './notification-bus.js';
export { createNotificationStream, createNotificationStreamResponse, NOTIFICATION_SSE_HEADERS, NOTIFICATION_SSE_HEARTBEAT_MS, NOTIFICATION_SSE_MAX_LIFETIME_MS, type NotificationStreamOptions, } from './notification-stream.js';
export { encodeSseEvent } from './sse.js';
//# sourceMappingURL=index.d.ts.map