import { ImageInsert, LineAttributes, Op, StyleAttributes, TextAttributes } from './delta'; export interface Line { items: (TextInsert | ImageInsert)[]; attributes: LineAttributes & StyleAttributes; indent: number; } export interface TextInsert { value: string; attributes: TextAttributes & StyleAttributes; } export declare function opsToLines(ops: Op[]): Line[];