Stone.js API
    Preparing search index...

    The shape this channel needs from a broadcaster, duck-typed so no realtime import is required.

    interface BroadcasterLike {
        to: (
            channel: string,
        ) => { emit: <T>(event: string, payload?: T) => Promise<void> };
    }
    Index
    to: (
        channel: string,
    ) => { emit: <T>(event: string, payload?: T) => Promise<void> }