import type { TextAlign, VerticalAlign } from '../../../element-model/common.js'; import type { ShapeElementModel } from '../../../element-model/shape.js'; import type { Bound } from '../../../index.js'; import type { Renderer } from '../../renderer.js'; import { type TextDelta } from '../text/utils.js'; export declare const SHAPE_TEXT_PADDING = 20; export declare function drawGeneralShape(ctx: CanvasRenderingContext2D, shapeModel: ShapeElementModel, renderer: Renderer): void; export declare function horizontalOffset(width: number, textAlign: TextAlign): number; export declare function verticalOffset(lines: TextDelta[][], lineHeight: number, height: number, textVerticalAlign: VerticalAlign): number; export declare function normalizeShapeBound(shape: ShapeElementModel, bound: Bound): Bound; //# sourceMappingURL=utils.d.ts.map