import { Constructor } from '@tdm/core'; export interface PluginStatic extends Constructor { prototype: Plugin; } export interface Plugin { init(options?: any): void; } export declare class PluginStore { private constructor(); assertPlugin(name: string): void; /** * Register's a plugin in the store. * The plugin is not initialized until the user invokes the init() method. * @param name * @param type */ static register(name: string, type: PluginStatic): void; } export declare const plugins: PluginStore;