import { NamedColor, RGBStr } from "./HighlightColor"; import { IImage } from "./IImage"; import { IRect } from "../util/rects/IRect"; import { IAnnotation } from "./IAnnotation"; export declare type HighlightColor = NamedColor | RGBStr; export interface HighlightRects { [key: string]: IRect; } export declare type AnnotationOrder = number; export interface IBaseHighlight extends IAnnotation { rects: HighlightRects; image?: IImage; images: { [key: string]: IImage; }; color?: HighlightColor; position?: Position; flagged?: boolean; order?: AnnotationOrder; } export interface Position { readonly x: number; readonly y: number; readonly width: number; readonly height: number; }