UNPKG

sussudio

Version:

An unofficial VS Code Internal API

14 lines (13 loc) 769 B
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { IMessage, ISignService } from "../common/sign.mjs"; export declare class SignService implements ISignService { private readonly _token; readonly _serviceBrand: undefined; constructor(_token: Promise<string> | string | undefined); createNewMessage(value: string): Promise<IMessage>; validate(message: IMessage, value: string): Promise<boolean>; sign(value: string): Promise<string>; }