export declare class license_data {
    licenseVersion: number;
    email: string;
    expirationDate: Date;
    domain: string;
}
/**
 * LicenseFile Class
 */
export declare class LicenseFile {
    static template_v1: string;
    static template_v2: string;
    static license_public_key: string;
    static privateKey: string;
    static validlicense: boolean;
    static licenserror: string;
    static data: license_data;
    private static _ofid;
    static ofid(): any;
    static validate(): void;
    private static validateTimer;
    /**
     *  Generate license file
     *
     * @param options
     * @param options.data {object|string} - data to sign
     * @param options.template - custom license file template
     * @param [options.privateKeyPath] {string} - path to private key
     * @param [options.privateKey] {string} - private key content
     */
    static generate(options: any): any;
    /**
     * Parse license file
     *
     * @param options
     * @param options.template - custom license file template
     * @param [options.publicKeyPath] {string} - path to public key
     * @param [options.publicKey] {string} - path to public key
     * @param [options.licenseFilePath] {string} - path to license file
     * @param [options.licenseFile] {string} - license file content
     */
    static parse(options: any): {
        valid: boolean;
        serial: string;
        data: {};
    };
    /**
     *
     * @param options
     * @param options.data
     * @param options.privateKey
     * @private
     */
    static _generateSerial(options: any): string;
    static _render(template: any, data: any): any;
    static _prepareDataObject(data: any): {};
}
