import type { PluginClass } from '../PluginManager';
export declare function usePlugin<T extends PluginClass<any> = any>(plugin: T): InstanceType<T>;
export declare function usePlugin<T extends {}>(name: string): T;
