/**
 * Check if an element is a descendant of another
 *
 * If the child element is a descendant of a limel-portal, this function will
 * go back through the portal and check the original tree recursively
 *
 * @param element - the parent element
 * @param child - the child element to check
 * @returns `true` if child is a descendant of element, taking
 * portals into account
 */
export declare function portalContains(element: HTMLElement, child: HTMLElement): boolean;
//# sourceMappingURL=contains.d.ts.map