import type { Plugin } from 'vite';
/** A widget is either an action widget (wrapped) or a settings widget (unwrapped). */
export type WidgetType = 'actions' | 'settings';
/**
 * Vite dev plugin that serves each widget document through Vite's transform pipeline,
 * mirroring how `dt-html-plugin` serves the UI. Widget discovery, entry generation, and
 * file watching all live inside `configureServer` — no external setup function needed,
 * exactly like every other dev plugin.
 */
export declare function dtWidgetVitePlugin(): Plugin;
