import { Position, ShapePainter } from '@/types';
export declare class RectanglePainter implements ShapePainter {
    private points;
    private historyStask;
    onChange?: ((points: Position[]) => void) | undefined;
    undo(): void;
    addPoint(position: Position): void;
    getData(): false | Position[];
}
//# sourceMappingURL=RectanglePainter.d.ts.map