import { AppConfig, URI, WithEventBus } from '@opensumi/ide-core-browser'; import { LabelService } from '@opensumi/ide-core-browser/lib/services'; import { IFileServiceClient } from '@opensumi/ide-file-service'; import { IDiffResource, IResourceProvider, ResourceDecorationChangeEvent, ResourceService } from '../../common'; import { BrowserEditorContribution, EditorComponentRegistry } from '../types'; export declare class DiffResourceProvider extends WithEventBus implements IResourceProvider { labelService: LabelService; resourceService: ResourceService; protected fileServiceClient: IFileServiceClient; protected readonly appConfig: AppConfig; scheme: string; private modifiedToResource; private userhomePath; onResourceDecorationChangeEvent(e: ResourceDecorationChangeEvent): void; private getCurrentUserHome; private getReadableTooltip; provideResource(uri: URI): Promise; shouldCloseResource(resource: any, openedResources: any): Promise; } export declare class DefaultDiffEditorContribution implements BrowserEditorContribution { diffResourceProvider: DiffResourceProvider; registerResource(resourceService: ResourceService): void; registerEditorComponent(registry: EditorComponentRegistry): void; } //# sourceMappingURL=index.d.ts.map