/******************************************************************************** * Copyright (C) 2019 Ericsson and others. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0. * * This Source Code may also be made available under the following Secondary * Licenses when the conditions for such availability set forth in the Eclipse * Public License v. 2.0 are satisfied: GNU General Public License, version 2 * with the GNU Classpath Exception which is available at * https://www.gnu.org/software/classpath/license.html. * * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 ********************************************************************************/ import { PreferenceProvider } from '@devpodio/core/lib/browser'; import { WorkspaceService } from '@devpodio/workspace/lib/browser/workspace-service'; import { FolderPreferenceProvider, FolderPreferenceProviderFactory } from './folder-preference-provider'; import { FileSystem, FileStat } from '@devpodio/filesystem/lib/common'; export declare class FoldersPreferencesProvider extends PreferenceProvider { protected readonly workspaceService: WorkspaceService; protected readonly fileSystem: FileSystem; protected readonly folderPreferenceProviderFactory: FolderPreferenceProviderFactory; private providers; protected init(): Promise; private existsProvider; getPreferences(resourceUri?: string): { [p: string]: any; }; canProvide(preferenceName: string, resourceUri?: string): { priority: number; provider: PreferenceProvider; }; protected getProvider(resourceUri: string): PreferenceProvider | undefined; protected createFolderPreferenceProvider(folder: FileStat): FolderPreferenceProvider; setPreference(key: string, value: any, resourceUri?: string): Promise; } //# sourceMappingURL=folders-preferences-provider.d.ts.map