import type { AnchorSelector } from '../core/types';
/**
 * Resolves an anchor selector to an HTMLElement.
 * Warns if the selector matches multiple elements.
 */
export declare function resolveAnchor(sel: AnchorSelector, opts: {
    shadowHost?: HTMLElement | null;
}): HTMLElement | null;
export declare function checkInvariants(el: HTMLElement, inv?: {
    tag?: string;
    hasAttrs?: Record<string, string>;
    closest?: string[];
}): boolean;
