Trevixal API
    Preparing search index...

    The slice of PDF.js this reader touches.

    interface PdfJsLike {
        GlobalWorkerOptions?: { workerSrc: string };
        getDocument(
            source: { data: Uint8Array },
        ): {
            promise: Promise<
                {
                    numPages: number;
                    getPage(
                        n: number,
                    ): Promise<{ getTextContent(): Promise<{ items: readonly unknown[] }> }>;
                },
            >;
        };
    }
    Index
    GlobalWorkerOptions?: { workerSrc: string }
    • Parameters

      • source: { data: Uint8Array }

      Returns {
          promise: Promise<
              {
                  numPages: number;
                  getPage(
                      n: number,
                  ): Promise<{ getTextContent(): Promise<{ items: readonly unknown[] }> }>;
              },
          >;
      }