import { PrivateKey } from "@libp2p/interface"; import { SignableENR } from "@chainsafe/enr"; import { IBeaconNodeOptions } from "@lodestar/beacon-node"; import { Logger } from "@lodestar/utils"; import { GlobalArgs } from "../../options/index.js"; import { BootnodeArgs } from "./options.js"; /** * Runs a bootnode. */ export declare function bootnodeHandler(args: BootnodeArgs & GlobalArgs): Promise; export type BootNodeInitOptions = { discv5Args: Exclude; metricsArgs: IBeaconNodeOptions["metrics"]; bootnodeDir: string; network: string; version: string; commit: string; privateKey: PrivateKey; enr: SignableENR; logger: Logger; }; /** Separate function to simplify unit testing of options merging */ export declare function bootnodeHandlerInit(args: BootnodeArgs & GlobalArgs): Promise; //# sourceMappingURL=handler.d.ts.map