/** * Realtime pub/sub — per-project managed event channels. * * GET /realtime/status?projectId= — availability * GET /realtime/channels?projectId= — list active channels * POST /realtime/channels — reserve a channel name * DELETE /realtime/channels/:channelName — free a channel * * Consumers open managed realtime connections from their app; this SDK * module only manages the channel registry (create / list / delete). */ import type { Client } from './client.js'; export interface RealtimeStatus { readonly available: boolean; } export declare const status: (client: Client, projectId: string) => Promise; export interface RealtimeChannel { readonly name: string; readonly activeConnections: number; readonly messagesPerHour: number; readonly status: 'active' | 'empty'; } export declare const listChannels: (client: Client, projectId: string) => Promise<{ channels: readonly RealtimeChannel[]; count: number; }>; export declare const createChannel: (client: Client, projectId: string, name: string) => Promise<{ name: string; }>; export declare const deleteChannel: (client: Client, projectId: string, channelName: string) => Promise; //# sourceMappingURL=realtime.d.ts.map