import React from 'react';
import { IText } from './types/text';
declare const TextBoundary: <V extends string | unknown>(props: IText<V>, ref: React.ForwardedRef<HTMLParagraphElement> | null) => JSX.Element;
declare const Text: <V>(props: React.PropsWithChildren<IText<V>> & {
    ref?: React.ForwardedRef<HTMLElement> | undefined | null;
}) => ReturnType<typeof TextBoundary>;
/**
 * @description
 * Text component is a component that can be used to create a text.
 * @param {React.PropsWithChildren<IText<V>>} props
 * @returns {JSX.Element}
 * @constructor
 * @example
 * <Text variant="h1">Text</Text>
 */
export { Text };
