Imports a workbook from various source types with automatic detection.
This method provides a unified interface for importing workbooks from different source types including files, base64 strings, fetch URLs, array buffers, and streams. The source type is automatically detected based on the input value.
Optional import configuration and callbacks
A promise that resolves to ImportResults containing the workbook, filename, and detected type
Source type detection rules:
base64
property → base64 typeinput
property → fetch type (FetchArgs)data:
→ base64 typehttp://
or https://
→ fetch type/
, ./
, ../
→ fetch typeExports to the local file system attempting to use the fileName provided. This will use the exportType to determine the export handler to use.
Optional
options: WriteWorkbookOptionsa Promise indicating success or failure.
A string array of all the mimeTYpes. Used for the input accept attribute.