import { type Attrs } from "smartrte-core/foundation"; export declare const inlineAtomPathFromDom: (root: HTMLElement, atom: HTMLElement) => number[] | null; export interface DomFormulaInput { value: string; displayText?: string; } export interface DomCanonicalAtomInput { type: "image" | "formula"; attrs: Attrs; } export declare const executeDomCanonicalAtomInsert: (root: HTMLElement, input: DomCanonicalAtomInput, domSelection?: Selection | null) => HTMLElement | null; export declare const executeDomFormulaInsert: (root: HTMLElement, input: DomFormulaInput, selection?: Selection | null) => HTMLElement | null; export declare const executeDomInlineAtomDelete: (root: HTMLElement, atom: HTMLElement) => boolean; export declare const executeDomCanonicalAtomUpdate: (root: HTMLElement, atom: HTMLElement, attrs: Attrs) => boolean; export declare const adjacentInlineAtom: (range: Range, direction: "backward" | "forward") => HTMLElement | null;