import { CSSProperties, ElementType, ReactNode } from 'react';
import { GenericComponent } from '../../@types/types';
import { COLORS, TINTS } from '../../constants';
import { BoxProps } from '../box/Box';
export interface TextProps extends BoxProps {
    children?: ReactNode;
    className?: string;
    color?: typeof COLORS[number];
    element?: ElementType;
    maxLines?: number;
    style?: CSSProperties;
    tint?: typeof TINTS[number];
}
declare const factory: (baseType: string, type: string, defaultElement: ElementType) => GenericComponent<TextProps>;
export { factory as textFactory };
