/** * @author Xiaofu Huang */ import { UserError } from "@microsoft/teamsfx-api"; import { DependencyStatus, DepsChecker, FuncInstallOptions } from "../depsChecker"; import { DepsLogger } from "../depsLogger"; import { DepsTelemetry } from "../depsTelemetry"; type FuncVersion = { majorVersion: number; minorVersion: number; patchVersion: number; versionStr: string; }; export declare class FuncToolChecker implements DepsChecker { private telemetryProperties; constructor(logger?: DepsLogger, telemetry?: DepsTelemetry); getDepsInfo(funcVersion: FuncVersion | undefined, binFolder: string | undefined, error?: UserError): Promise; resolve(installOptions: FuncInstallOptions): Promise; getInstallationInfo(installOptions: FuncInstallOptions): Promise; private getNodeVersion; private checkExpectedFuncAndNode; private checkPortableFuncVersion; private checkFuncVersion; private getVersioningPortableFunc; private install; protected static getDefaultInstallPath(): string; private static getFuncInstallPath; private static getVersioningSentinelPath; private static getHistorySentinelPath; private static getPortableFuncBinFolder; queryFuncVersion(funcBinFolder: string | undefined): Promise; private hasNPM; private cleanup; private installFunc; private getExecCommand; } export {}; //# sourceMappingURL=funcToolChecker.d.ts.map