import { Able, PositionSchema, TransformData, TransformSchema } from '../../common'; import { Matrix } from '@gedit/math'; import { Dragable, DragablePayload } from './dragable'; export declare enum ResizeType { LEFT = "left", RIGHT = "right", BOTTOM = "bottom", TOP = "top", LEFT_TOP = "leftTop", LEFT_BOTTOM = "leftBottom", RIGHT_TOP = "rightTop", RIGHT_BOTTOM = "rightBottom", ORIGIN = "origin" } export declare const ResizePayload: unique symbol; export interface ResizePayload extends DragablePayload { type: ResizeType; } export declare const MIN_SIZE = 10; interface ResizableCache { data: TransformSchema; localMatrix: Matrix; worldMatrix: Matrix; startInverse: PositionSchema; bounds: { bottomCenter: PositionSchema; bottomLeft: PositionSchema; bottomRight: PositionSchema; topCenter: PositionSchema; topLeft: PositionSchema; topRight: PositionSchema; leftCenter: PositionSchema; rightCenter: PositionSchema; origin: PositionSchema; }; boundsInverse: { bottomCenter: PositionSchema; bottomLeft: PositionSchema; bottomRight: PositionSchema; topCenter: PositionSchema; topLeft: PositionSchema; topRight: PositionSchema; leftCenter: PositionSchema; rightCenter: PositionSchema; origin: PositionSchema; }; } export declare class Resizable extends Able { static globalBefore: typeof Dragable.globalBefore; static type: string; protected supportTypes: Set; protected startCacheMap: Map; payload: ResizePayload; handle(transform: TransformData): void; support(...types: ('all' | ResizeType)[]): void; } export {}; //# sourceMappingURL=resizable.d.ts.map