import { ElementType, ComponentProps, PropsWithChildren, JSX } from 'react'; import { TypographyVariants } from '@knitto-ui/tokens'; type TypographyBaseProps = PropsWithChildren<{ as?: T; variant?: TypographyVariants; }>; type TypographyProps = TypographyBaseProps & Omit, keyof TypographyBaseProps>; type ExportedTypographyType = (props: TypographyProps) => JSX.Element; declare const _default: ExportedTypographyType; export { type TypographyProps, _default as default };