/** * Copyright 2014-present Palantir Technologies * @license MIT */ import { Bounds, Point } from "../core/interfaces"; import { QuantitativeScale } from "../scales/quantitativeScale"; import { DragBoxLayer } from "./dragBoxLayer"; export declare class XDragBoxLayer extends DragBoxLayer { /** * An XDragBoxLayer is a DragBoxLayer whose size can only be set in the X-direction. * The y-values of the bounds() are always set to 0 and the height() of the XDragBoxLayer. * * @constructor */ constructor(); computeLayout(origin?: Point, availableWidth?: number, availableHeight?: number): this; protected _setBounds(newBounds: Bounds): void; protected _setResizableClasses(canResize: boolean): void; yScale(): QuantitativeScale; yScale(yScale: QuantitativeScale): this; yExtent(): (number | { valueOf(): number; })[]; yExtent(yExtent: (number | { valueOf(): number; })[]): this; }