import type { ElementSymbol } from '../element'; import type { AnyStructure } from '../structure'; import type { CompositionType } from './'; export declare const format_composition_formula: (composition: CompositionType, sort_fn: (symbols: ElementSymbol[]) => ElementSymbol[], plain_text?: boolean, delim?: string, amount_format?: string) => string; export declare const get_alphabetical_formula: (input: string | CompositionType | AnyStructure, plain_text?: boolean, delim?: string, amount_format?: string) => string; export declare const sort_by_electronegativity: (symbols: ElementSymbol[]) => ElementSymbol[]; export declare const sort_by_hill_notation: (symbols: ElementSymbol[]) => ElementSymbol[]; export declare const get_electro_neg_formula: (input: string | CompositionType | AnyStructure, plain_text?: boolean, delim?: string, amount_format?: string) => string; export interface FormulaLabelSegment { text: string; subscript: boolean; } export declare function get_formula_label_segments(formula: string): FormulaLabelSegment[]; export declare const get_hill_formula: (input: string | CompositionType | AnyStructure, plain_text?: boolean, delim?: string, amount_format?: string) => string; export declare function format_oxi_state(oxidation?: number): string;