import type { Component } from "../../runtime/component.ts"; import { type Style } from "../../text/ansi.ts"; export interface TextOptions { readonly text: string; readonly style?: Style | ((text: string) => string); readonly wrap?: boolean; } export declare class Text implements Component { private readonly options; constructor(options: TextOptions); render(width: number): string[]; } export declare function renderText(text: string, width: number, options?: Omit): string[]; //# sourceMappingURL=component.d.ts.map