/** * Copyright (c) 2020 TypeFox GmbH. All rights reserved. * Licensed under the GNU Affero General Public License (AGPL). * See License-AGPL.txt in the project root for license information. */ export interface LicenseValidationResult { valid: boolean; msg?: string; issue?: LicenseIssue; } export declare type LicenseIssue = "seats-exhausted"; export interface LicenseInfo { key: string; seats: number; valid: boolean; validUntil: string; plan?: string; } export interface GetLicenseInfoResult { isAdmin: boolean; licenseInfo: LicenseInfo; } export declare enum LicenseFeature { CreateSnapshot = "create-snapshot" } export interface LicenseService { validateLicense(): Promise; getLicenseInfo(): Promise; licenseIncludesFeature(feature: LicenseFeature): Promise; } //# sourceMappingURL=license-protocol.d.ts.map