import type { IModelCoord } from '../../consts.js'; import { Bound } from '../../utils/bound.js'; import { PointLocation } from '../../utils/point-location.js'; import { type IVec } from '../../utils/vec.js'; import { SurfaceElement } from '../surface-element.js'; import type { IText } from './types.js'; export declare class TextElement extends SurfaceElement { get text(): import("yjs").Text; get color(): string; get fontSize(): number; get fontFamily(): string; get textAlign(): "left" | "center" | "right"; get bold(): boolean; get italic(): boolean; get font(): string; getNearestPoint(point: IVec): IVec; getCursorByCoord(coord: IModelCoord): number; containedByBounds(bounds: Bound): boolean; intersectWithLine(start: IVec, end: IVec): PointLocation[] | null; render(ctx: CanvasRenderingContext2D, matrix: DOMMatrix): void; getRelativePointLocation(point: IVec): PointLocation; } //# sourceMappingURL=text-element.d.ts.map