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