export default function contains(root: HTMLElement | null | undefined, n?: HTMLElement): boolean;