import type { WidgetType } from '@wordpress/widget-primitives';
import type { DashboardWidget } from '../../types';
interface WidgetRenderProps {
    widget: DashboardWidget<unknown>;
    widgetType: WidgetType;
}
/**
 * Adapter around the host-agnostic `WidgetRender` primitive. Bridges the
 * dashboard context (`resolveWidgetModule`, layout state) and turns
 * layout-level attribute updates into the per-instance `setAttributes`
 * callback the render contract expects. When the policy denies `edit`,
 * the widget renders read-only: it receives no `setAttributes`.
 *
 * Lends the widget the `actions` capability, bound to this render of the
 * instance.
 *
 * @param {WidgetRenderProps} props Component props.
 */
export declare function WidgetRender({ widget, widgetType }: WidgetRenderProps): import("react").JSX.Element;
export {};
//# sourceMappingURL=widget-render.d.ts.map