import { Text } from "./Text"; import { IBaseHighlight } from "./IBaseHighlight"; import { ITextRect } from "./ITextRect"; import { IChildAnnotations } from "./IChildAnnotations"; export interface ITextHighlight extends IBaseHighlight, IChildAnnotations { readonly type?: 'text-only'; readonly textSelections: { [id: number]: ITextRect; }; readonly text: Text | string; readonly revisedText?: Text | string; }