import { ContainerStylesAddon, ValueTypeAddon } from '../../types/plots'; import { NumberOrTimeDelta, NumberOrTimeDeltaRange } from '../../types/general'; export interface BinWidthControlProps extends ValueTypeAddon, ContainerStylesAddon { /** Label for this control component, optional, default = 'Bin width' */ label?: string; /** The current binWidth */ binWidth?: NumberOrTimeDelta; /** The current binUnit */ binUnit?: string; /** The available binUnits */ binUnitOptions?: string[]; /** Function to invoke when bin width changes. */ onBinWidthChange?: (newBinWidth: NumberOrTimeDelta) => void; /** the allowed range of binWidths. Optional */ binWidthRange?: NumberOrTimeDeltaRange; /** The step to take when adjusting binWidth. Optional. Downstream defaults to 1. */ binWidthStep?: number; /** Is the widget disabled (grayed out and inoperable)? Default is false */ disabled?: boolean; } export default function BinWidthControl({ label, valueType, binWidth, binUnit, binUnitOptions, onBinWidthChange, binWidthRange, binWidthStep, containerStyles, disabled, }: BinWidthControlProps): JSX.Element | null; //# sourceMappingURL=BinWidthControl.d.ts.map