import * as React from 'react'; import type { SlotComponentPropsFromProps } from '@mui/x-internals/types'; import type { BarElementOwnerState } from "./barClasses.mjs"; import type { BarProps } from "./AnimatedBarElement.mjs"; import type { BarPropsOverrides } from "../models/chartsSlotsComponentsProps.mjs"; export interface BarElementSlots { /** * The component that renders the bar. * @default BarElementPath */ bar?: React.JSXElementConstructor; } export interface BarElementSlotProps { bar?: SlotComponentPropsFromProps; } export type BarElementProps = Omit & Omit, 'ref'> & { /** * The props used for each component slot. * @default {} */ slotProps?: BarElementSlotProps; /** * Overridable component slots. * @default {} */ slots?: BarElementSlots; /** * The position of the element in the x-axis. */ x: number; /** * The position in the x-axis of the stack this bar belongs to. */ xOrigin: number; /** * The position of the element in the y-axis. */ y: number; /** * The position in the y-axis of the stack this bar belongs to. */ yOrigin: number; /** * The width of the element. */ width: number; /** * The height of the element. */ height: number; /** * The orientation of the bar. */ layout: 'horizontal' | 'vertical'; /** * If `true`, animations are skipped. */ skipAnimation: boolean; /** * If `true`, the element is hidden. */ hidden?: boolean; }; declare function BarElement(props: BarElementProps): React.JSX.Element; declare namespace BarElement { var propTypes: any; } export { BarElement };