import type { DatabaseSync } from 'node:sqlite'; import type { ProductNotification } from '@xopcai/gateway-contract'; import { type SceneActivation, type ScenePermission } from './contracts.js'; /** Page notifications commit with the result outbox; transport routing is never inferred. */ export declare class SceneResultNotifications { private readonly db; private readonly authorize; private readonly publish; private readonly clock; private readonly outbox; private committed; constructor(db: DatabaseSync, authorize: (activation: SceneActivation) => ScenePermission, publish: (notification: ProductNotification) => void, clock?: () => number); /** Realtime is a hint after commit; durable results and events survive a disconnected page. */ drain(limit?: number): number; private reserveBudget; private flushDigests; }