UNPKG

@sussudio/platform

Version:

Internal APIs for VS Code's service injection the base services.

17 lines (15 loc) 936 B
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { IExtensionUrlTrustService } from '../common/extensionUrlTrust.mjs'; import { ILogService } from '../../log/common/log.mjs'; import { IProductService } from '../../product/common/productService.mjs'; export declare class ExtensionUrlTrustService implements IExtensionUrlTrustService { private readonly productService; private readonly logService; readonly _serviceBrand: undefined; private trustedExtensionUrlPublicKeys; constructor(productService: IProductService, logService: ILogService); isExtensionUrlTrusted(extensionId: string, url: string): Promise<boolean>; }