import { type ReactNode } from 'react'; /** * The layout size of the chart. * @defaultvalue 'size16' * @public */ export type MeterBarSize = 'size8' | 'size16' | 'size24' | 'auto'; /** * When the value slot is undefined and auto set to true the component will be * responsible to generate a default label for the prop. * @internal */ export interface SlotWithAutoDefault { value?: ReactNode; auto: boolean; } /** * MeterBarChart Root Element Reference * @public */ export interface MeterBarChartElementRef { /** The MeterBarChart root element */ readonly element: HTMLDivElement | null; /** Returns the current serialized config of the MetBarChart.*/ getConfig: () => string; } /** * MultiMeterBarChart Root Element Reference * @public */ export type MultiMeterBarChartElementRef = MeterBarChartElementRef;