import { NetworkType } from 'symbol-sdk'; export declare type Password = string | false | undefined; export declare class KnownError extends Error { readonly known = true; } export interface Migration { readonly description: string; migrate(from: any): any; } export declare class BootstrapUtils { static readonly defaultTargetFolder = "target"; static readonly targetNodesFolder = "nodes"; static readonly targetGatewaysFolder = "gateways"; static readonly targetExplorersFolder = "explorers"; static readonly targetWalletsFolder = "wallets"; static readonly targetDatabasesFolder = "databases"; static readonly targetNemesisFolder = "nemesis"; static readonly CURRENT_USER = "current"; private static readonly pulledImages; static readonly VERSION: any; static readonly DEFAULT_ROOT_FOLDER: string; static stopProcess: boolean; private static onProcessListener; static getFilesRecursively(path: string): string[]; static download(url: string, dest: string): Promise<{ downloaded: boolean; fileLocation: string; }>; static logSameLineMessage(message: string): void; static deleteFolder(folder: string, excludeFiles?: string[]): void; private static deleteFolderRecursive; static deleteFile(file: string): void; static validateIsDefined(value: any, message: string): void; static validateIsTrue(value: boolean, message: string): void; static pullImage(image: string): Promise; static resolveRootFolder(): string; static runImageUsingExec({ catapultAppFolder, image, userId, workdir, cmds, binds, }: { catapultAppFolder?: string; image: string; userId?: string; workdir?: string; cmds: string[]; binds: string[]; }): Promise<{ stdout: string; stderr: string; }>; static toAns1(privateKey: string): string; static secureString(text: string): string; static sleep(ms: number): Promise; static poll(promiseFunction: () => Promise, totalPollingTime: number, pollIntervalMs: number): Promise; static generateConfiguration(templateContext: any, copyFrom: string, copyTo: string, excludeFiles?: string[], includeFiles?: string[]): Promise; static chmodRecursive(path: string, mode: string | number): Promise; static runTemplate(template: string, templateContext: any): string; static mkdir(path: string): Promise; static mkdirParentFolder(fileName: string): Promise; static writeYaml(path: string, object: any, password: string | undefined): Promise; static pruneEmpty(obj: any): any; static toYaml(object: any): string; static fromYaml(yamlString: string): any; static loadYaml(fileLocation: string, password: Password): any; static loadFileAsText(fileLocation: string): string; static writeTextFile(path: string, text: string): Promise; static isValidPrivateKey(input: string): boolean | string; static readTextFile(path: string): Promise; private static dockerUserId; static resolveDockerUserFromParam(paramUser: string | undefined): Promise; static createImageUsingExec(targetFolder: string, dockerFile: string, tag: string): Promise; static exec(runCommand: string): Promise<{ stdout: string; stderr: string; }>; static spawn(command: string, args: string[], useLogger: boolean, logPrefix?: string): Promise; static getDockerUserGroup(): Promise; static isRoot(): boolean; static isWindows(): boolean; static getTargetFolder(target: string, absolute: boolean, ...paths: string[]): string; static getTargetNodesFolder(target: string, absolute: boolean, ...paths: string[]): string; static getTargetGatewayFolder(target: string, absolute: boolean, ...paths: string[]): string; static getTargetNemesisFolder(target: string, absolute: boolean, ...paths: string[]): string; static getTargetDatabasesFolder(target: string, absolute: boolean, ...paths: string[]): string; static zeroPad(num: number, places: number): string; private static initialize; private static add; private static minus; static computerMemory(percentage: number): number; static toAmount(renderedText: string | number): string; static toHex(renderedText: string): string; static toSimpleHex(renderedText: string): string; static toJson(object: any): string; static formatJson(string: string): string; static splitCsv(object: string): string[]; static toSeconds(serverDuration: string): number; static migrate(entityName: string, versioned: T, migrations?: Migration[]): T; static getNetworkIdentifier(networkType: NetworkType): string; static getNetworkName(networkType: NetworkType): string; static createDerFile(privateKey: string, file: string): void; static isYmlFile(string: string): boolean; static validatePassword(password: string): string; static validateFolder(workingDirFullPath: string): void; static validateSeedFolder(nemesisSeedFolder: string, message: string): Promise; } //# sourceMappingURL=BootstrapUtils.d.ts.map