/**
 * Cell - The atomic unit of the terminal surface grid.
 */
export interface Cell {
    char: string;
    fg: string;
    bg: string;
    bold: boolean;
    dim: boolean;
    underline: boolean;
    italic: boolean;
    strikethrough: boolean;
    /** OSC 8 hyperlink URL. If set, the DiffEngine wraps this cell with OSC 8 sequences. */
    link?: string;
}
/**
 * Line - A single horizontal row of Cells.
 */
export type Line = Cell[];
export declare const createEmptyCell: () => Cell;
export declare const createEmptyLine: (width: number) => Line;
/**
 * createStyledCell - Create a Cell with all defaults, applying only the provided overrides.
 * Eliminates the need to write out all 8 Cell properties at every call site.
 */
export declare const createStyledCell: (char: string, overrides?: Partial<Omit<Cell, "char">>) => Cell;
//# sourceMappingURL=grid.d.ts.map