1 | import type { Container } from "../Container";
|
2 | import type { IContainerPlugin } from "./IContainerPlugin";
|
3 | import type { IOptions } from "../../Options/Interfaces/IOptions";
|
4 | import type { RecursivePartial } from "../../Types";
|
5 | import type { Options } from "../../Options/Classes/Options";
|
6 | export interface IPlugin {
|
7 | readonly id: string;
|
8 | needsPlugin(options?: RecursivePartial<IOptions>): boolean;
|
9 | getPlugin(container: Container): IContainerPlugin;
|
10 | loadOptions(options: Options, source?: RecursivePartial<IOptions>): void;
|
11 | }
|