import { Plugin } from "@webiny/plugins"; import type { Benchmark } from "../types.js"; /** * This plugin should be initialized only once per context, hence the name of the plugin. */ export declare class BenchmarkPlugin extends Plugin { static readonly type: string; name: string; readonly benchmark: Benchmark; constructor(benchmark: Benchmark); enable(): void; disable(): void; measure(name: string, cb: () => Promise): Promise; }