import { FileSystemHandle } from "browser-fs-access"; import { ExcalidrawElement } from "../element/types"; import { AppState } from "../types"; import { ImportedLibraryData } from "./types"; export declare const getMimeType: (blob: Blob | string) => string; export declare const getFileHandleType: (handle: FileSystemHandle | null) => string | null; export declare const isImageFileHandleType: (type: string | null) => type is "svg" | "png"; export declare const isImageFileHandle: (handle: FileSystemHandle | null) => boolean; export declare const loadFromBlob: (blob: Blob, localAppState: AppState | null, localElements: readonly ExcalidrawElement[] | null) => Promise; export declare const loadLibraryFromBlob: (blob: Blob) => Promise; export declare const canvasToBlob: (canvas: HTMLCanvasElement) => Promise;