import { default as React } from 'react'; import { PolymorphicComponentProps } from '@entur/utils'; export type Heading1OwnProps = { /** HTML-elementet eller React-komponenten som rendres * @default "h1" */ as?: string | React.ElementType; /** Ekstra klassenavn */ className?: string; /** Innholdet */ children: React.ReactNode; /** Hvor du vil ha marginer * @default "both" */ margin?: 'top' | 'bottom' | 'both' | 'none'; }; declare const defaultElement = "h1"; export type Heading1Props = PolymorphicComponentProps; export declare const Heading1: ({ margin, children, as, ...rest }: Heading1Props) => JSX.Element; export {};