/// import { ExcalidrawElement, FileId } from "../../element/types"; import Portal from "../collab/Portal"; import { AppState, BinaryFileData } from "../../types"; import { SyncableExcalidrawElement } from "."; export declare const loadFirebaseStorage: () => Promise; export declare const isSavedToFirebase: (portal: Portal, elements: readonly ExcalidrawElement[]) => boolean; export declare const saveFilesToFirebase: ({ prefix, files, }: { prefix: string; files: { id: FileId; buffer: Uint8Array; }[]; }) => Promise<{ savedFiles: Map; erroredFiles: Map; }>; export declare const saveToFirebase: (portal: Portal, elements: readonly SyncableExcalidrawElement[], appState: AppState) => Promise; export declare const loadFromFirebase: (roomId: string, roomKey: string, socket: SocketIOClient.Socket | null) => Promise; export declare const loadFilesFromFirebase: (prefix: string, decryptionKey: string, filesIds: readonly FileId[]) => Promise<{ loadedFiles: BinaryFileData[]; erroredFiles: Map; }>;