import { TextProps } from '../editor'; import type { TextAttributes, TextElement } from '../types'; export declare function getTextEntity(text: SVGElement): HTMLSpanElement | null; export declare function createTextElement(textContent: string, attributes: TextAttributes): TextElement; export declare function updateTextElement(text: TextElement, props: Partial): void; export declare function getTextStyle(attributes: TextAttributes): Record; export declare function getTextContent(text: TextElement): string; export declare function setTextContent(text: TextElement, content: string): void; export declare function getTextElementProps(text: TextElement): Partial;