@mescius/dsimageviewer
Version:
Document Solutions Image Viewer
22 lines (21 loc) • 543 B
TypeScript
export declare function getEnvInfo(): {
local: boolean;
pro: boolean;
};
declare enum LicState {
NoLicenseKey = 0,
InvalidLicenseKey = 1,
EvalLicense = 2,
EvalExpiredLicense = 3,
ValidLicense = 4,
LocalhostOnly = 5,
KeyForAnotherProduct = 6,
KeyForAnotherDomain = 7
}
declare type CheckLicenseResponse = {
state: LicState;
error?: string;
watermark?: string;
};
export declare function checkLic(licenseKey: string, in17n: any): Promise<CheckLicenseResponse>;
export {};