import { type JSX, type ReactNode, type RefObject } from 'react'; import { CategoricalBarChartLegendConfiguration } from './types/categorical-bar-chart.js'; import { MaskingProps } from '../../core/types/masking-props.js'; import { StylingProps } from '../../core/types/styling-props.js'; import type { ChartLayoutRef } from '../core/components/chart-layout/types/chart-layout.js'; interface CategoricalBarChartLayoutProps extends StylingProps, MaskingProps { emptyState?: ReactNode; errorState: ReactNode | ((errorMessage: string) => JSX.Element) | undefined; legend: CategoricalBarChartLegendConfiguration; isEmpty: boolean; loading: boolean; height?: string; width?: number | string; chartLayoutRef: RefObject; /** * Component identifier for behavioral tracking * @internal */ 'data-dt-component'?: string; } export declare const CategoricalBarChartLayout: (props: CategoricalBarChartLayoutProps & import("react").RefAttributes) => import("react").ReactElement | null; export {};