import { IDStr } from "../../util/Strings"; import { IBlock } from "./IBlock"; import { ITextHighlight } from "../ITextHighlight"; import { IAreaHighlight } from "../IAreaHighlight"; import { IComment } from "../IComment"; interface IAnnotationNote extends IBlock { readonly type: T; readonly docID: IDStr; readonly pageNum: number; readonly value: V; } export interface ITextHighlightAnnotationNote extends IAnnotationNote<'annotation-text-highlight', ITextHighlight> { } export interface IAreaHighlightAnnotationNote extends IAnnotationNote<'annotation-area-highlight', IAreaHighlight> { } export interface ICommentAnnotationNote extends IAnnotationNote<'annotation-comment', IComment> { } export interface IFlashcardAnnotationNote extends IAnnotationNote<'annotation-flashcard', IComment> { } export {};