@qrcommunication/gigapdf-lib — SDK API reference - v0.110.3
    Preparing search index...

    Type Alias ViewerSource

    ViewerSource:
        | { kind: "pdf"; bytes: Uint8Array }
        | { kind: "office"; bytes: Uint8Array }
        | { kind: "html"; html: string; fonts?: HtmlFont[] }
        | { kind: "auto"; bytes: Uint8Array }

    A document to open. auto sniffs the format from magic bytes.