Trevixal API
    Preparing search index...
    interface WikiLinksOptions {
        currentId?: () => string | null;
        onState: (state: SuggestionListState<DocumentMeta> | null) => void;
        open: (id: string) => void;
        store: WorkspaceStore | Promise<WorkspaceStore>;
    }
    Index
    currentId?: () => string | null

    The document being edited, left out of the choices.

    onState: (state: SuggestionListState<DocumentMeta> | null) => void

    The popup's state, to draw; null closes it.

    open: (id: string) => void

    Open a document when its link is clicked; the tab strip's open.

    store: WorkspaceStore | Promise<WorkspaceStore>

    Where the documents are, or the store once it has opened.