import type { HeadingSize, HeadingTag } from './types'; export declare const SIZE_TO_TAG: Record; /** * Resolves the HTML tag to render: * 1. If any direct slotted child is an h1–h6 element → return 'div' (avoids invalid nesting). * 2. If an explicit `tag` prop is provided → use it. * 3. Otherwise → infer from the `size` prop. */ export declare function getHeadingTag(host: HTMLElement | null, size: HeadingSize, tag: HeadingTag | undefined): HeadingTag; //# sourceMappingURL=diwa-heading-utils.d.ts.map