import React from 'react'; import PropTypes from 'prop-types'; export declare class NumberLineGraph extends React.Component { static propTypes: { domain: PropTypes.Validator; max: PropTypes.Validator; }>>>; ticks: PropTypes.Validator; major: PropTypes.Requireable; }>>>; fraction: PropTypes.Requireable; width: PropTypes.Validator; height: PropTypes.Validator; onToggleElement: PropTypes.Validator<(...args: any[]) => any>; onMoveElement: PropTypes.Validator<(...args: any[]) => any>; onAddElement: PropTypes.Validator<(...args: any[]) => any>; debug: PropTypes.Requireable; elements: PropTypes.Requireable; disabled: PropTypes.Requireable; onDeselectElements: PropTypes.Requireable<(...args: any[]) => any>; arrows: PropTypes.Requireable; right: PropTypes.Requireable; }>>; language: PropTypes.Requireable; }; static defaultProps: { debug: boolean; }; constructor(props: any); descriptionId: string; dragInstructionsId: string; xScaleFn(): any; snapValueFn(): (value: any) => number; /** * Note: we use d3 click + pointer to give us domain values directly. * Saves us having to calculate them ourselves from a MouseEvent. */ onRectClick(event: any): void; componentDidMount(): void; addElement(x: any): void; render(): React.JSX.Element; } export default NumberLineGraph;