import "katex/contrib/mhchem"; import { type FormulaLibraryEntry } from "../formulaLibrary.js"; export interface FormulaLibraryPopoverProps { x: number; y: number; onInsert: (entry: FormulaLibraryEntry) => void; onCancel: () => void; } /** * Formula library popover ("Small" scope, 55 entries across 6 domains - * see formulaLibrary.ts's own doc comment). Browsable by domain tab and * searchable by name; each entry renders a real KaTeX preview (the same * renderer the document itself uses) so the user sees exactly what they're * about to insert, not a name they have to guess the shape of. */ export declare function FormulaLibraryPopover({ x, y, onInsert, onCancel }: FormulaLibraryPopoverProps): import("react/jsx-runtime").JSX.Element;