/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ import { Consumer } from "./consumer.js"; import { Producer } from "./producer.js"; /** * Writes to a {@link TextWriter} with support for smart wrapping of text. */ export declare class Wrapper implements Consumer { #private; constructor(target: Consumer, options: Wrapper.Options); get state(): Consumer.State; write(...text: Producer.Sequence): void; close(): void; [Symbol.dispose](): void; } export declare namespace Wrapper { interface Options { wrapPrefix?: string; preserveIndent?: boolean; preserveSpace?: boolean; splitStyling?: boolean; } /** * Private - begin demarcation of line prefix. */ const prefixStart = "\u001B[<<~"; /** * Private - end demarcation of line prefix. */ const prefixStop = "\u001B[>>~"; } //# sourceMappingURL=wrapper.d.ts.map