import { Control, Rect, RectProps } from 'fabric'; import { IClip, IDisplay } from '../types'; export interface ResizableBaseProps extends Pick { id: string; tScale: number; display: IDisplay; } export type ResizableProps = ResizableBaseProps & T; declare class Resizable extends Rect { static type: string; id: string; isSelected: boolean; tScale: number; display: IDisplay; static createControls(): { controls: Record; }; static getDefaults(): Record; static ownDefaults: { rx: number; ry: number; objectCaching: boolean; borderColor: string; stroke: string; strokeWidth: number; fill: string; borderOpacityWhenMoving: number; hoverCursor: string; }; isResizable: boolean; constructor(props: ResizableProps); sync(itemDetail: IClip): void; setSelected(selected: boolean): void; _render(ctx: CanvasRenderingContext2D): void; updateSelected(ctx: CanvasRenderingContext2D): void; } export default Resizable;