import { HardhatConfig } from 'hardhat/types'; import { CommandArguments } from './types'; import { JsonRpcServer } from './server'; export declare function constructCommandArgs(args: CommandArguments): string[]; export declare function getPlatform(): string; export declare function getRPCServerBinariesDir(): Promise; export declare function getLatestRelease(owner: string, repo: string, userAgent: string, timeout: number): Promise; export declare function getAllTags(owner: string, repo: string, userAgent: string, timeout: number): Promise; export declare function resolveTag(tags: string[], latestTag: string, initialTag: string): string; export declare function getNodeUrl(repo: string, release: string): Promise; export declare function ensureDirectory(filePath: string, options?: { mode: any; }): Promise; export declare function download(url: string, filePath: string, userAgent: string, version: string, timeoutMillis?: number, extraHeaders?: { [name: string]: string; }): Promise; export declare function isPortAvailable(port: number): Promise; export declare function waitForNodeToBeReady(port: number, maxAttempts?: number): Promise; export declare function getAvailablePort(startPort: number, maxAttempts: number): Promise; export declare function adjustTaskArgsForPort(taskArgs: string[], currentPort: number): string[]; export declare function getNetworkConfig(url: string): { accounts: string; gas: string; gasPrice: string; gasMultiplier: number; httpHeaders: {}; timeout: number; url: string; ethNetwork: string; chainId: number; zksync: boolean; }; export declare function configureNetwork(config: HardhatConfig, network: any, port: number): Promise; export declare const startServer: (tag?: string, existingBinaryPath?: string, force?: boolean, args?: CommandArguments) => Promise<{ commandArgs: string[]; server: JsonRpcServer; port: number; }>; //# sourceMappingURL=utils.d.ts.map