export declare function closestBlock(node: Node | null, root: HTMLElement): HTMLElement | null;
export declare function setBlockTag(root: HTMLElement, tag: 'p' | 'h1' | 'h2' | 'h3'): void;
export declare function setAlignment(root: HTMLElement, alignment: string): void;
export declare function nearestElement(n: Node | null): HTMLElement | null;
