///
import { Lazy } from "lazy-val";
import { Configuration } from "../configuration";
import { NodeModuleDirInfo } from "./packageDependencies";
export declare function installOrRebuild(config: Configuration, appDir: string, options: RebuildOptions, forceInstall?: boolean): Promise;
export interface DesktopFrameworkInfo {
version: string;
useCustomDist: boolean;
}
export declare function getGypEnv(frameworkInfo: DesktopFrameworkInfo, platform: NodeJS.Platform, arch: string, buildFromSource: boolean): any;
export interface RebuildOptions {
frameworkInfo: DesktopFrameworkInfo;
productionDeps?: Lazy>;
platform?: NodeJS.Platform;
arch?: string;
buildFromSource?: boolean;
additionalArgs?: Array | null;
}