import { default as React } from 'react'; import { TypographyHeadingVariant, TypographySize, TypographySpacing } from '../types'; import { PolymorphicComponentProps } from '@entur/utils'; type HeadingBaseProps = { /** Visuell variant som bestemmer styling (anbefalt over size) */ variant?: TypographyHeadingVariant; /** Visuell tekststørrelse som overstyrer variant-styling */ size?: TypographySize; /** Innholdet som skal vises */ children: React.ReactNode; /** Ekstra klassenavn for tilpasset styling */ className?: string; /** Inline CSS-stiler */ style?: React.CSSProperties; /** Spacing around the component */ spacing?: TypographySpacing; }; export type HeadingProps = PolymorphicComponentProps; export declare const Heading: ({ children, as, size, variant, spacing, className, ...rest }: HeadingProps) => import("react/jsx-runtime").JSX.Element; export {};