@sussudio/platform
Version:
Internal APIs for VS Code's service injection the base services.
15 lines (13 loc) • 752 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 { 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>;
}