export interface Cell { ch: string; color?: string; dim?: boolean; bold?: boolean; inverse?: boolean; } export type CellStyle = Omit; export declare function blankRow(width: number): Cell[]; export declare function blankGrid(width: number, height: number): Cell[][]; /** Stamp text into a row at x; clips at both edges. */ export declare function stamp(row: Cell[], x: number, text: string, style?: CellStyle): void; export interface Segment extends CellStyle { text: string; } /** Run-length merge a row of cells into renderable segments. */ export declare function toSegments(row: Cell[]): Segment[]; //# sourceMappingURL=raster.d.ts.map