@progress/kendo-react-common
Version:
React Common package delivers common utilities that can be used with the KendoReact UI components. KendoReact Common Utilities package
39 lines (38 loc) • 1.12 kB
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import { PackageMetadata } from '@progress/kendo-licensing';
/**
* @hidden
*/
export interface LicenseMessage {
code?: string;
licenseType?: string;
version?: string;
productName?: string;
expiration?: string;
}
/**
* @hidden
*/
export declare const validatePackage: (e: any, additionalInfo: {
component: string;
features?: string[];
}) => boolean;
/**
* @hidden
*
* Returns `true` if the license is valid, `false` otherwise.
* Does not output any warnings to the console.
*/
export declare const hasValidLicense: (e: any) => boolean;
/**
* @hidden
*
* Returns the notification message to display, if any.
*/
export declare const getLicenseMessage: (e: PackageMetadata) => LicenseMessage | undefined;