UNPKG

hardhat

Version:

Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.

26 lines 1.07 kB
import type { Dispatcher } from "@nomicfoundation/hardhat-utils/request"; export declare const BANNER_CONFIG_URL = "https://raw.githubusercontent.com/NomicFoundation/hardhat/refs/heads/main/banner-config-v3.json"; export declare const BANNER_CACHE_FILE_NAME = "banner-config-v3.json"; export declare class BannerManager { #private; private constructor(); /** * Returns a global instance of BannerManager. * * @param options Options used for testing purposes. Only used in the first * invocation of this function, or after calling `resetInstance`. * @returns The current global instance of BannerManager. */ static getInstance(options?: { testDispatcher?: Dispatcher; print?: (message: string) => void; }): Promise<BannerManager>; static resetInstance(): void; /** * Displays a banner message, if any. * * @param timeout The timeout in milliseconds to wait for the banner display. */ showBanner(timeout?: number): Promise<void>; } //# sourceMappingURL=banner-manager.d.ts.map