import { Position } from '../../core'; import { default as Overlay } from '../Overlay'; declare class Rect extends Overlay { private _positions; constructor(positions: any); get type(): string; set positions(positions: string | any[]); get positions(): Position[]; _mountedHook(): void; /** * @param text * @param textStyle * @returns {Rect} */ setLabel(text: any, textStyle: any): this; /** * Sets Style * @param style * @returns {Rect} */ setStyle(style: any): this; } export default Rect;