LWT JavaScript API
    Preparing search index...
    TextsApi: {
        create(
            data: TextCreateRequest,
        ): Promise<ApiResponse<TextCreateResponse>>;
        getAnnotation(textId: number): Promise<ApiResponse<AnnotationResponse>>;
        getPrintItems(textId: number): Promise<ApiResponse<PrintItemsResponse>>;
        getStatistics(
            textIds: string | number[],
        ): Promise<ApiResponse<TextStatistics>>;
        getWords(textId: number): Promise<ApiResponse<TextWordsResponse>>;
        markAllIgnored(textId: number): Promise<ApiResponse<MarkAllResponse>>;
        markAllWellKnown(textId: number): Promise<ApiResponse<MarkAllResponse>>;
        setDisplayMode(
            textId: number,
            mode: Partial<TextDisplayMode>,
        ): Promise<ApiResponse<DisplayModeResponse>>;
    } = ...

    Texts API methods.

    Type Declaration