import type { ComponentTextProps } from '~/types/text'; import type { DataBodyTextBundle, DataDisplayTextBundle, DataHeadingTextBundle } from '~/types/type-bundles'; type BodyTextProps = { variant: 'body'; } & ComponentTextProps & DataBodyTextBundle; type HeadingTextProps = { variant: 'heading'; } & ComponentTextProps & DataHeadingTextBundle; type DisplayTextProps = { variant: 'display'; } & ComponentTextProps & DataDisplayTextBundle; export type DataTextProps = BodyTextProps | HeadingTextProps | DisplayTextProps; export {};