/// import { ChildProcess, ExecFileOptions, SpawnOptions } from "child_process"; import _debug from "debug"; import "source-map-support/register"; export { safeStringifyJson } from "builder-util-runtime"; export { TmpDir } from "temp-file"; export { log, debug } from "./log"; export { Arch, getArchCliNames, toLinuxArchString, getArchSuffix, ArchType, archFromString } from "./arch"; export { AsyncTaskManager } from "./asyncTaskManager"; export { DebugLogger } from "./DebugLogger"; export { copyFile } from "./fs"; export { asArray } from "builder-util-runtime"; export { deepAssign } from "./deepAssign"; export declare const debug7z: _debug.Debugger; export declare function serializeToYaml(object: any, skipInvalid?: boolean, noRefs?: boolean): string; export declare function removePassword(input: string): string; export declare function exec(file: string, args?: Array | null, options?: ExecFileOptions, isLogOutIfDebug?: boolean): Promise; export interface ExtraSpawnOptions { isPipeInput?: boolean; } export declare function doSpawn(command: string, args: Array, options?: SpawnOptions, extraOptions?: ExtraSpawnOptions): ChildProcess; export declare function spawnAndWrite(command: string, args: Array, data: string, options?: SpawnOptions): Promise; export declare function spawn(command: string, args?: Array | null, options?: SpawnOptions, extraOptions?: ExtraSpawnOptions): Promise; export declare class ExecError extends Error { readonly exitCode: number; alreadyLogged: boolean; constructor(command: string, exitCode: number, out: string, errorOut: string, code?: string); } export declare function use(value: T | null, task: (it: T) => R): R | null; export declare function isEmptyOrSpaces(s: string | null | undefined): s is "" | null | undefined; export declare function isTokenCharValid(token: string): boolean; export declare function addValue(map: Map>, key: K, value: T): void; export declare function replaceDefault(inList: Array | null | undefined, defaultList: Array): Array; export declare function getPlatformIconFileName(value: string | null | undefined, isMac: boolean): string | null | undefined; export declare function isPullRequest(): boolean | "" | undefined; export declare function isEnvTrue(value: string | null | undefined): boolean; export declare class InvalidConfigurationError extends Error { constructor(message: string, code?: string); } export declare function executeAppBuilder(args: Array, childProcessConsumer?: (childProcess: ChildProcess) => void, extraOptions?: SpawnOptions): Promise;