import { Context, Resource } from 'wirejs-resources'; export declare const REALTIME_SECRET_SCOPE = "wirejs-global"; export declare const REALTIME_SECRET_ID = "realtime-secret"; export declare class RealtimeService extends Resource { #private; constructor(scope: Resource | string, id: string); /** * The address the client will need to connect to. */ get address(): string; publish(channel: string, events: T[]): Promise; getStream(_context: Context, channel: string): Promise; }