import type { ColorSchemeName } from '../colors'; import type { ElementSymbol } from '../element'; import type { HTMLAttributes } from 'svelte/elements'; import type { OxiComposition } from './parse'; type FormulaOrdering = `electronegativity` | `alphabetical` | `original` | `hill`; type TooltipSide = `top` | `bottom` | `left` | `right`; type $$ComponentProps = HTMLAttributes & { formula: string | OxiComposition; color_scheme?: ColorSchemeName; ordering?: FormulaOrdering; as?: string; amount_format?: string; tooltip_side?: TooltipSide; tooltip_offset?: number; on_click?: (element: ElementSymbol, event: MouseEvent | KeyboardEvent) => void; }; declare const Formula: import("svelte").Component<$$ComponentProps, {}, "">; type Formula = ReturnType; export default Formula;