import { PluginInstanceInternal } from "@lib/plugins/types"; interface CorePlugin { default: PluginInstanceInternal; preenabled: boolean; } // Called from @lib/plugins export const getCorePlugins = (): Record => ({ "bunny.quickinstall": require("./quickinstall") }); /** * @internal */ export function defineCorePlugin(instance: PluginInstanceInternal): PluginInstanceInternal { // @ts-expect-error instance[Symbol.for("bunny.core.plugin")] = true; return instance; }