import type { TemplateResult } from 'lit'; import type { BaseTextAttributes } from './utils/index.js'; export type DeltaInsert = { insert: string; attributes?: TextAttributes; }; export type AttributeRenderer = (delta: DeltaInsert, selected: boolean) => TemplateResult<1>; export interface VRange { index: number; length: number; } export type VRangeUpdatedProp = [range: VRange | null, sync: boolean]; export type DeltaEntry = [delta: DeltaInsert, range: VRange]; export type NativePoint = readonly [node: Node, offset: number]; export type TextPoint = readonly [text: Text, offset: number]; export interface DomPoint { text: Text; index: number; } //# sourceMappingURL=types.d.ts.map