Stone.js API
    Preparing search index...

    The shape this module needs from an event bus, to announce what it delivered.

    interface EventBusLike {
        emit: <T>(
            name: string,
            payload?: T,
            options?: Record<string, unknown>,
        ) => Promise<void>;
    }
    Index
    emit: <T>(
        name: string,
        payload?: T,
        options?: Record<string, unknown>,
    ) => Promise<void>