import type { AttributeMap } from "../attributes/interface"; export interface Op { insert?: string; delete?: number; retain?: number; attributes?: AttributeMap; } export declare const OP_TYPES: { INSERT: string; RETAIN: string; DELETE: string; }; export declare const EOL = "\n"; export declare const EOL_OP: InsertOp; export type Ops = Op[]; export type DeleteOp = { delete: number; }; export type RetainOp = { retain: number; attributes?: AttributeMap; }; export type InsertOp = { insert: string; attributes?: AttributeMap; };