import { VirtualHTMLElement } from "../virtual-dom";
import { VirtualNode } from "../virtual-dom";
/**
* Asserts that an element is a real DOM HTMLElement and returns it with the correct type.
* Throws if called with a virtual element — callers must guard against virtual mode
* before calling this function (e.g. check `documentFactory` or `VIRTUAL_DOCUMENT_BRAND`).
*/
export declare function asHTMLElement(element: VirtualHTMLElement): HTMLElement;
/**
* Asserts that a node is a real DOM Node and returns it with the correct type.
* Throws if called with a virtual node — callers must guard against virtual mode
* before calling this function.
*/
export declare function asNode(node: VirtualNode): Node;
//# sourceMappingURL=dom-compat.d.ts.map