UNPKG

sussudio

Version:

An unofficial VS Code Internal API

17 lines (16 loc) 996 B
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { AbstractPolicyService, IPolicyService, PolicyDefinition } from "../common/policy.mjs"; import { IStringDictionary } from "../../../base/common/collections.mjs"; import { ILogService } from "../../log/common/log.mjs"; export declare class NativePolicyService extends AbstractPolicyService implements IPolicyService { private readonly logService; private readonly productName; private throttler; private watcher; constructor(logService: ILogService, productName: string); protected _updatePolicyDefinitions(policyDefinitions: IStringDictionary<PolicyDefinition>): Promise<void>; private _onDidPolicyChange; }