import { type StorageBackend } from "./storage.js"; export interface RealtimeOptions { prefix?: string; authorize?: (identity: string, channelId: number) => boolean | Promise; storage?: StorageBackend; features?: string[]; } interface IceServer { urls: string[]; username?: string; credential?: string; } /** Build the ICE server list from the environment (STUN always; ephemeral TURN when configured). */ export declare function iceServers(): IceServer[]; /** * Mount the realtime surface and return the resolved path map (also served * from the config endpoint so the client can discover it). * * Returns a Promise because the framework-owned chat tables are created via the * async ORM (Node's DB layer is async) - `await realtime(...)` so the tables * exist before the first request. Route registration itself is synchronous. */ export declare function realtime(options?: RealtimeOptions): Promise>; export {};