import { type ReactNode, type RefObject } from 'react'; import { WidgetContainerStyleOptions } from '../../../../types'; import { WidgetHeaderConfig } from '../widget-header/types.js'; export interface WidgetContainerProps { styleOptions?: WidgetContainerStyleOptions; /** * The widget's **fully composed** header configuration — the single channel every header item * travels through: the items the widget composed from the header features it uses (marked as * built-ins), the items dashboard-level features contributed, the consumer's own items, and the * consumer's `onBeforeRender`. This is the end of the widget's feature chain, not the raw * `config.header` the widget received. */ headerConfig?: WidgetHeaderConfig; topSlot?: ReactNode; bottomSlot?: ReactNode; children: ReactNode; /** * Ref attached to the content area below the header (topSlot + chart + bottomSlot). * Use to measure the available height for narrative-to-chart ratio calculations. * @internal */ contentAreaRef?: RefObject; } /** @internal */ export declare const WidgetContainer: React.FC; /** @internal */ export declare const RawWidgetContainer: React.FC;