import { Logger } from "../utils/Logger"; import { Patch, Plugin, StartAt } from "../utils/types"; import { FluxDispatcher } from "../webpack/common"; import Plugins from "~plugins"; export { Plugins as plugins }; export declare const PMLogger: Logger; export declare function isPluginEnabled(p: string): boolean; export declare function addPatch(newPatch: Omit, pluginName: string, pluginPath?: string): void; export declare function pluginRequiresRestart(p: Plugin): boolean; export declare const startAllPlugins: (target: StartAt) => void; export declare function startDependenciesRecursive(p: Plugin): { restartNeeded: boolean; failures: string[]; }; export declare function subscribePluginFluxEvents(p: Plugin, fluxDispatcher: typeof FluxDispatcher): void; export declare function unsubscribePluginFluxEvents(p: Plugin, fluxDispatcher: typeof FluxDispatcher): void; export declare function subscribeAllPluginsFluxEvents(fluxDispatcher: typeof FluxDispatcher): void; export declare const startPlugin: (p: Plugin) => boolean; export declare const stopPlugin: (p: Plugin) => boolean; export declare const initPluginManager: () => void;