import type { GlobalOptions, GlobalOptionsMap } from "@ignored/hardhat-vnext-core/types/global-options"; import type { HardhatRuntimeEnvironment } from "@ignored/hardhat-vnext-core/types/hre"; import type { Task, TaskArguments } from "@ignored/hardhat-vnext-core/types/tasks"; import "tsx"; export declare function main(cliArguments: string[], print?: (message?: any, ...optionalParams: any[]) => void): Promise; export declare function parseHardhatSpecialArguments(cliArguments: string[], usedCliArguments: boolean[]): Promise<{ configPath: string | undefined; showStackTraces: boolean; help: boolean; version: boolean; }>; export declare function parseGlobalOptions(globalOptionsMap: GlobalOptionsMap, cliArguments: string[], usedCliArguments: boolean[]): Promise>; /** * Parses the task from the cli args. * * @returns The task, or an array with the unrecognized task id. * If no task id is provided, an empty array is returned. */ export declare function parseTask(cliArguments: string[], usedCliArguments: boolean[], hre: HardhatRuntimeEnvironment): Task | string[]; export declare function parseTaskArguments(cliArguments: string[], usedCliArguments: boolean[], task: Task): TaskArguments; //# sourceMappingURL=main.d.ts.map