sussudio
Version:
An unofficial VS Code Internal API
16 lines (15 loc) • 953 B
text/typescript
/*---------------------------------------------------------------------------------------------
* 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>;
}