import { BaseElement } from "../document/elements";
import type { StyleProperties, MeasuredSize } from "../document/types";
import { type MarkdownSegment } from "../document/markdown";
export declare class RichTextElement extends BaseElement {
    private segments;
    private style;
    private wrap_width;
    constructor(segments: MarkdownSegment[], style: StyleProperties);
    measure(avail_width: number): MeasuredSize;
    render(pdoc: any): void;
}
