import { type IBound } from '../../consts.js';
import { Bound } from '../../utils/bound.js';
import { type IVec } from '../../utils/vec.js';
import type { ShapeType } from './consts.js';
import { type GeneralShapeOptions } from './consts.js';
import type { ShapeElement } from './shape-element.js';
export declare function normalizeShapeBound(shape: ShapeElement, bound: Bound): Bound;
export declare function hitTestOnShapeText(point: IVec, shape: ShapeElement): boolean;
export declare function getShapeTextIBound(shape: ShapeElement): IBound | null;
export declare function drawGeneralShape(ctx: CanvasRenderingContext2D, shapeType: ShapeType, options: GeneralShapeOptions): void;
//# sourceMappingURL=utils.d.ts.map