import { FileSystemHandle, supported as nativeFileSystemSupported } from "browser-fs-access"; import { MIME_TYPES } from "../constants"; type FILE_EXTENSION = Exclude; export declare const fileOpen: (opts: { extensions?: FILE_EXTENSION[] | undefined; description: string; multiple?: M | undefined; }) => Promise; export declare const fileSave: (blob: Blob, opts: { /** supply without the extension */ name: string; /** file extension */ extension: FILE_EXTENSION; description: string; /** existing FileSystemHandle */ fileHandle?: FileSystemHandle | null; }) => Promise; export type { FileSystemHandle }; export { nativeFileSystemSupported };