import type { ClassValue } from 'svelte/elements'; import type { Snippet } from 'svelte'; type TextVariant = 'body' | 'lede' | 'mono' | 'eyebrow'; type TextColor = 'ink' | 'dim' | 'faint' | 'amber' | 'cyan' | 'ok' | 'danger'; type SizeVariant = 'xs' | 'sm' | 'md' | 'lg' | 'xl'; type CaseVariant = 'upper' | 'lower' | 'none'; interface Props { /** Typography style to apply. @default 'body' */ variant?: TextVariant; /** Text colour mapped to a design token. */ color?: TextColor; /** Font size override mapped to a type-scale token. */ size?: SizeVariant; /** Text transform override. */ case?: CaseVariant; /** HTML element to render as — overrides the variant default. */ as?: string; children?: Snippet; class?: ClassValue | null; style?: string | null; [key: string]: unknown; } declare const Text: import("svelte").Component; type Text = ReturnType; export default Text;