import { Plugin, PluginKey } from "@tiptap/pm/state"; import { AnnotationState } from "./annotation-state"; import { RenderStyles } from "../annotation-magic"; import { Annotation } from "../../contracts"; export declare const AnnotationPluginKey: PluginKey; export interface AnnotationPluginOptions { styles: RenderStyles; onSelectionChange: (items: Annotation[]) => void; onAnnotationListChange: (items: Annotation[]) => void; instance: string; } export declare const AnnotationPlugin: (options: AnnotationPluginOptions) => Plugin>;