UNPKG

@difizen/mana-app

Version:

19 lines 1.05 kB
import type { URI } from '@difizen/mana-common'; import type { CopyFileOptions, MoveFileOptions, ResolveFileOptions, FileChangesEvent, FileOperationEvent, FileStatWithMetadata } from './files'; export declare class FileService { private onDidFilesChangeEmitter; /** * An event that is emitted when files are changed on the disk. */ readonly onDidFilesChange: import("@difizen/mana-common").Event<FileChangesEvent>; private onDidRunOperationEmitter; /** * An event that is emitted when operation is finished. * This event is triggered by user gestures and programmatically. */ readonly onDidRunOperation: import("@difizen/mana-common").Event<FileOperationEvent>; copy(source: URI, _target: URI, _options?: CopyFileOptions): Promise<FileStatWithMetadata>; move(source: URI, _target: URI, _options?: MoveFileOptions): Promise<FileStatWithMetadata>; resolve(resource: URI, _options?: ResolveFileOptions | undefined): Promise<FileStatWithMetadata>; } //# sourceMappingURL=file-service.d.ts.map