UNPKG

390 BTypeScriptView Raw
1import { Lazy } from "lazy-val";
2import { Configuration } from "../configuration";
3export declare type MetadataValue = Lazy<{
4 [key: string]: any;
5} | null>;
6export declare function getElectronVersion(projectDir: string, config?: Configuration, projectMetadata?: MetadataValue): Promise<string>;
7export declare function getElectronVersionFromInstalled(projectDir: string): Promise<any>;