UNPKG

theia-sprotty

Version:

Glue code for sprotty diagrams in a Theia IDE

12 lines 639 B
import { ExportSvgAction } from 'sprotty/lib'; import { FileSystem } from '@theia/filesystem/lib/common'; import { MessageService } from '@theia/core/lib/common'; export declare class TheiaFileSaver { protected readonly fileSystem: FileSystem; protected readonly messageService: MessageService; constructor(fileSystem: FileSystem, messageService: MessageService); save(sourceUri: string, action: ExportSvgAction): void; getNextFileName(sourceUri: string): Promise<string>; tryNextFileName(sourceURI: string, count: number, resolve: (fileName: string) => void): void; } //# sourceMappingURL=theia-file-saver.d.ts.map