import type { CompositionType } from './'; import type { ElementSymbol } from '../element'; export type FormulaSpecies = { element: ElementSymbol; amount: number; oxidation_state?: number; }; type WildcardFormulaToken = { element: ElementSymbol | null; amount: number; }; export type OxiComposition = Partial>; export declare const normalize_formula_unicode: (formula: string) => string; export declare const parse_formula: (formula: string) => CompositionType; export declare const parse_formula_with_oxidation: (formula: string) => FormulaSpecies[]; export declare const parse_formula_with_wildcards: (formula: string) => WildcardFormulaToken[]; export declare const extract_formula_elements: (formula: string, { sorted }?: { sorted?: boolean; }) => ElementSymbol[]; export declare const parse_composition: (input: string | CompositionType | Record | Record) => CompositionType; export declare const fractional_composition: (composition: CompositionType, by_weight?: boolean) => CompositionType; export {};