import { SolidRenderFunction } from "./types.mjs"; //#region src/solid/widget.d.ts /** * Register a Solid widget globally. The widget is resolved when a schema * field has `.meta({ component: })`. * * For scoped registration prefer the `widgets` prop on * `` (instance-level) or `` * (context-level). */ declare function registerSolidWidget(name: string, render: SolidRenderFunction): void; /** * Look up a globally registered Solid widget by name. Returns * `undefined` when nothing is registered for the supplied name. */ declare function lookupGlobalSolidWidget(name: string): SolidRenderFunction | undefined; /** * Clear every globally registered Solid widget. Intended for test * isolation — `registerSolidWidget` writes to module-level state and * that state otherwise leaks across test cases, making the test suite * order-dependent. Tests should call this from a `beforeEach` or * `afterEach` hook. * * @internal */ declare function __clearGlobalSolidWidgets(): void; //#endregion export { __clearGlobalSolidWidgets, lookupGlobalSolidWidget, registerSolidWidget };