import type { Codelet } from '../codelet'; type PluginInstallFunction = Options extends unknown[] ? (col: Codelet, ...options: Options) => any : (col: Codelet, options: Options) => any; export type Plugin = (PluginInstallFunction & { install?: PluginInstallFunction; }) | { install: PluginInstallFunction; }; export declare function definePlugin(plugin: T): T; export {};