import type { ClassValue } from 'svelte/elements'; import type { Snippet } from 'svelte'; type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6; type HeadingVariant = 'display' | 'hero' | 'title' | 'h1' | 'h2' | 'h3'; type TextColor = 'ink' | 'dim' | 'faint' | 'amber' | 'cyan' | 'ok' | 'danger'; interface Props { /** HTML heading level (h1–h6). @default 2 */ level?: HeadingLevel; /** Typography class to apply — defaults to the level's matching variant. */ variant?: HeadingVariant; /** Text colour mapped to a design token. */ color?: TextColor; children?: Snippet; class?: ClassValue | null; style?: string | null; [key: string]: unknown; } declare const Heading: import("svelte").Component; type Heading = ReturnType; export default Heading;