import { interfaces } from '@theia/core/shared/inversify';
import { RPCProtocol } from '../../common/rpc-protocol';
import { MainFileSystemEventServiceShape } from '../../common/plugin-api-rpc';
import { UriComponents } from '../../common/uri-components';
import { URI } from '@theia/core';
import { FileService } from '@theia/filesystem/lib/browser/file-service';
import { WatchOptions } from '@theia/filesystem/lib/common/files';
import { FileSystemPreferences } from '@theia/filesystem/lib/common/filesystem-preferences';
export declare class MainFileSystemEventService implements MainFileSystemEventServiceShape {
    private readonly fileService;
    private readonly preferences;
    private readonly toDispose;
    private readonly watches;
    constructor(rpc: RPCProtocol, container: interfaces.Container, fileService?: FileService, preferences?: FileSystemPreferences);
    dispose(): void;
    $watch(session: number, resource: UriComponents, options: WatchOptions): void;
    protected getExcludes(uri: URI, requested?: string[]): string[];
    $unwatch(session: number): void;
}
//# sourceMappingURL=main-file-system-event-service.d.ts.map