/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ export { describeList } from "./String.js"; /** * Performs word wrap. Input is assumed to be a series of paragraphs separated by a newline. Output is an array of * formatted lines. * * Contains specialized support for lists, ESDoc directives and ANSI escape codes. */ export declare function FormattedText(text: string, width?: number): string[]; /** * Types of things we consider "blocks". Most blocks are lists but we also support markdown-style quotes prefixed with * ">". */ export declare enum BlockKind { Simple = "simple", Bullet1 = "-", Bullet2 = "\u2022", Bullet3 = "\u25E6", Bullet4 = "\u25AA", Bullet5 = "\u25CB", Bullet6 = "\u25CF", Bullet7 = "\u2023", Bullet8 = "\u2043", Quote = ">", Number = "number", LowerAlpha = "alpha", UpperAlpha = "ALPHA", LowerRoman = "roman", UpperRoman = "ROMAN" } export declare const Bullets: BlockKind[]; export declare function looksLikeListItem(text: string): boolean; //# sourceMappingURL=FormattedText.d.ts.map