import type { ErasedWidgetDefinition } from '../../../domains/widgets/widget-definitions'; import type { AnyWidgetPlugin } from './types.js'; /** * Maps a widget plugin's `customWidget` declaration to a widget definition keyed * `custom:`, with its abilities resolved over the plugin defaults. The plugin manifest itself * is unchanged. * * @param customWidget - The validated custom widget declaration of a widget plugin. * @param pluginName - The name of the plugin declaring the widget, for validation warnings. * @returns The widget definition to register in the plugin tier. * @internal */ export declare const toWidgetDefinition: (customWidget: NonNullable, pluginName: string) => ErasedWidgetDefinition;