import type { RenderContext, Component } from '../layout/grid'; import type { Color } from '../types'; export interface StyleOptions { color?: Color; backgroundColor?: Color; bold?: boolean; italic?: boolean; underline?: boolean; overflow?: 'none' | 'ellipsis-end' | 'ellipsis-start' | 'ellipsis-middle' | 'wrap'; when?: (ctx: RenderContext) => boolean; } /** * Style component - applies styling and handles overflow */ export declare function style(options: StyleOptions, content: string | string[] | Component): Component; //# sourceMappingURL=style.d.ts.map