import type * as Y from 'yjs'; import type { BaseTextAttributes } from './attributes'; export interface OptionalAttributes { attributes?: Record; } export type DeltaOperation = { insert?: string; delete?: number; retain?: number; } & OptionalAttributes; export type OnTextChange = (data: Y.Text, isLocal: boolean) => void; export type DeltaInsert = { insert: string; attributes?: TextAttributes; }; //# sourceMappingURL=types.d.ts.map