import { MarkdownOrString } from '@likec4/core'; /** * Flattens a markdown or plain string value into a single line of * screen-reader friendly text: renders markdown to plain text, collapses * runs of whitespace and trims. Returns `null` when the value yields no text. * * Use this whenever model text (titles, labels, descriptions, notes) is * surfaced to assistive technologies, so that markdown syntax and stray * whitespace never leak into an `aria-label`. */ export declare function readableText(value: MarkdownOrString | string | null | undefined): string | null;