declare type IClientRect = Omit; export declare function getAbsoluteBoundingClientRect(domNode: HTMLElement | null): IClientRect; export declare function scrollParentTo(domNode: HTMLElement | null, additionalOffset?: number): void; export declare function dispatchDOMEvent(node: EventTarget, eventName: string, assignedEventProps?: any): Event; /** * sharesAncestor * * Recursively looks at `node` and its parents for `nodeName` and makes * sure it contains `siblingNode`. * * @param {Node} node - dom node to check if any of its ancestors are a `