type tag = keyof HTMLElementTagNameMap; export declare function isElementType(element: Element, tag: T | T[], props?: P): element is P extends undefined ? HTMLElementTagNameMap[T] : HTMLElementTagNameMap[T] & P; export {};