import { default as React } from 'react'; import { PolymorphicComponentProps } from '@entur/utils'; import { TypographySize, TypographySpacing, TypographyTextVariant, TypographyWeight } from '../types'; type TextBaseProps = { /** Visuell tekststørrelse (typografi-token) */ size?: TypographySize; /** Fontvekt */ weight?: TypographyWeight; /** Variant (kan brukes til spesielle typer tekst som for eksempel caption) */ variant?: TypographyTextVariant; /** Innhold */ children: React.ReactNode; /** Spacing around the component */ spacing?: TypographySpacing; /** Ekstra klassenavn */ className?: string; }; export type TextProps = PolymorphicComponentProps; export declare const Text: ({ children, as, size, variant, weight, spacing, className, ...rest }: TextProps) => import("react/jsx-runtime").JSX.Element; export {};