export declare const observeNodes: (nodes: Node[] | null, observer: MutationObserver, options: MutationObserverInit) => void | undefined; export declare const nodesToText: (nodes: Node[] | null) => string; export declare type Slotted = { nodes: Node[]; elements: Element[]; firstChild?: Element; }; export declare const slotted: (slots: HTMLSlotElement[]) => Slotted; export declare const onSlotChange: (el: T, cb: (slotted: Slotted) => void, fn?: (el: T) => HTMLSlotElement[]) => any; export declare const onTextChange: (el: T, cb: (text: string) => void, fn?: ((el: T) => HTMLSlotElement[]) | undefined) => () => void;