LWT JavaScript API
    Preparing search index...
    TextsApi: {
        bulkAction(
            action: "delete" | "archive",
            ids: number[],
        ): Promise<ApiResponse<{ count: number }>>;
        create(data: TextCreateRequest): Promise<ApiResponse<TextCreateResponse>>;
        getAnnotation(textId: number): Promise<ApiResponse<AnnotationResponse>>;
        getAudio(textId: number): Promise<ApiResponse<AudioInfo>>;
        getBookContext(textId: number): Promise<ApiResponse<BookContextResponse>>;
        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