import * as React from "react"; export interface ISliderProps { /** * Apply a `width: 100%` style to the .slider */ full?: boolean; /** * Center the around a child `Element`. This is contrained * by the bounds of the containing `Element`. * * @see `Slider#calculateCenteringTransform` */ centerOnChild?: number; children?: JSX.Element | JSX.Element[]; } export declare class Slider extends React.Component { centerChildRef: React.RefObject; sliderRef: React.RefObject; constructor(props: ISliderProps); componentDidMount(): void; componentDidUpdate(prevProps: ISliderProps): void; render(): JSX.Element; /** * Scroll to to a specific x-offset. We calculate this offset * by finding the center line of the containing screen and calculating the difference * between that and the center of the target Element. */ private centerSliderAroundChild; }