/** * Copyright Linkurious SAS 2012 - 2022 * * - Created on 2022-03-16. */ import { Request } from '../../http/request'; import { ISaveLicenseParams, LicenseInfo } from './types'; export * from './types'; export declare class LicenseAPI extends Request { /** * Get license information, see {@link LicenseInfo}. **/ getLicenseInfo(this: Request): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>; /** * Verify the submitted license and save it if it's valid and there is no saved license yet. */ saveLicenseIfMissing(this: Request, params: ISaveLicenseParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>; /** * Replace the saved license with the submitted one. Fails if submitted license is invalid. */ updateLicense(this: Request, params: ISaveLicenseParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>; }