import type { RoughCanvas } from '../../rough/canvas.js'; import type { Bound } from '../../utils/bound.js'; import type { PointLocation } from '../../utils/point-location.js'; import type { IVec } from '../../utils/vec.js'; import { type HitTestOptions, SurfaceElement } from '../surface-element.js'; import { SHAPE_TEXT_FONT_SIZE } from './constants.js'; import type { IShape, IShapeLocalRecord } from './types.js'; export declare class ShapeElement extends SurfaceElement { get shapeType(): import("./types.js").ShapeType; get radius(): number; get filled(): boolean; get fillColor(): string; get strokeWidth(): number; get strokeColor(): string; get strokeStyle(): import("../../consts.js").StrokeStyle; get roughness(): number; get realStrokeColor(): string; get realFillColor(): string; get shapeStyle(): import("../../consts.js").ShapeStyle; get text(): import("yjs").Text | undefined; get color(): string; get fontSize(): SHAPE_TEXT_FONT_SIZE; get fontFamily(): string; get textAlign(): "left" | "center" | "right"; get textHorizontalAlign(): "left" | "center" | "right"; get textVerticalAlign(): "top" | "center" | "bottom"; get bold(): boolean; get italic(): boolean; hitTest(x: number, y: number, options: HitTestOptions): boolean; containedByBounds(bounds: Bound): boolean; intersectWithLine(start: IVec, end: IVec): PointLocation[] | null; getNearestPoint(point: IVec): IVec; getRelativePointLocation(point: IVec): PointLocation; render(ctx: CanvasRenderingContext2D, matrix: DOMMatrix, rc: RoughCanvas): void; private _renderText; } //# sourceMappingURL=shape-element.d.ts.map