import { MeatballMenuApi, LocationDescriptor } from "@heydovetail/ui-components"; import * as React from "react"; import { Tag } from "../HighlightWidgetPlugin"; import { HighlightRange } from "../../range/types"; interface Props { highlight: HighlightRange; tag: Tag; generateTagURL: (tagId: string) => LocationDescriptor; onRemoveTag?: (options: { from: number; to: number; tagId: string; }) => void; onCopyHighlightURL?: (rangeId: string) => void; onFocusRange: (rangeId: string | null) => void; tagQuickEditRenderer?: (tagId: string, menuApi: MeatballMenuApi) => React.ReactNode; } interface State { hover: boolean; open: boolean; } export declare class HighlightSidebarItem extends React.PureComponent { state: { hover: boolean; open: boolean; }; render(): JSX.Element; private readonly onMouseEnter; private readonly onMouseLeave; } export {};