type Child = Node | string | null | undefined | false; /** Creates an element. Children are nodes or plain text — strings are never parsed as HTML. */ export declare function h(tag: K, props?: Record, ...children: Child[]): HTMLElementTagNameMap[K]; /** Takes `el` out of (or back into) the keyboard's reach; focus never stays on something that goes inert. */ export declare function inert(el: HTMLElement, on: boolean): void; /** Puts `els` in this order before `ref` (at the end without one) in `parent`, moving only what is out of place and keeping focus; true when any moved. */ export declare function reorder(parent: Element, els: readonly Element[], ref?: Node | null): boolean; /** The page's selection when it holds words (not collapsed, not only spaces). */ export declare const selected: () => Selection | null; export declare function clip(text: string, n: number): string; /** Sizes a fixed overlay (outline, pulse, mark) to a box, with padding around it. */ export declare function fit(el: HTMLElement, r: { left: number; top: number; width: number; height: number; }, pad?: number): void; /** * An AI reply's words with its references. A line "[1]: