Trevixal API
    Preparing search index...
    interface SlashCommandOptions {
        items?: readonly SlashCommandItem[];
        onState: (state: SlashCommandState | null) => void;
    }
    Index
    items?: readonly SlashCommandItem[]

    Menu items; defaults to defaultSlashCommands.

    onState: (state: SlashCommandState | null) => void

    Render hook for the menu: state while open, null when closed.