import { DrawingID, ObjectID } from '@buerli.io/core'; /** * Simple helper functions for file interaction. */ export declare const FileUtils: { /** * Loads a file from the file system. * It uses @see document and is therefore directly dependent on the DOM. * * @param onLoad The callback. * @param type The content type. */ loadFile: (onLoad: (files: { file: File; content: any; }[]) => void, type?: 'DataURL' | 'ArrayBuffer' | 'BinaryString' | 'Text', multiple?: boolean) => void; exportNode: (drawingId: DrawingID, objectId: ObjectID, type?: 'ofb' | 'stp' | 'step' | 'stl') => Promise; };