import { Locklift, LockliftConfig } from "../index"; import { ConfigState } from "../internal/config"; import commander from "commander"; export type Extender = { pluginName: string; initializer?: (params: { locklift: Locklift; config: LockliftConfig; network?: keyof LockliftConfig["networks"]; }) => Promise; commandBuilders?: Array<{ commandCreator: (command: commander.Command) => commander.Command; skipSteps?: { build?: boolean; }; }>; }; export type ExtenderActionParams = { config: () => LockliftConfig; locklift: Locklift; script?: string; build?: string; network: string; contracts?: string; };