export declare function closest(node: Element, selector: string): T | null; export declare function contains(parent: Element | ShadowRoot, child: Node): boolean; export declare function querySelector(parent: HTMLElement | HTMLSlotElement | ShadowRoot, selector: string): T; export declare function querySelectorAll(parent: HTMLElement | HTMLSlotElement | ShadowRoot, selector: string): T[]; export declare function attachTooltip(element: HTMLElement): void; export type Position = 'top' | 'right' | 'bottom' | 'left' | 'center' | 'none'; export type Alignment = 'start' | 'center' | 'end' | 'justify'; export declare function getValidSlotChildren(slot: HTMLSlotElement): Node[]; export declare function isEmptySlot(slot: HTMLSlotElement): boolean;