import { ComponentProps } from 'react';
import { Typography as AntDTypography } from 'antd';
import { DangerouslySetAntdProps, TypographyColor } from '../types';
declare type AntDTypographyProps = ComponentProps<typeof AntDTypography>;
declare type AntDTextProps = ComponentProps<typeof AntDTypography['Text']>;
export interface TextProps extends AntDTypographyProps, Pick<AntDTextProps, 'ellipsis' | 'disabled' | 'code' | 'id' | 'title' | 'aria-label'>, DangerouslySetAntdProps<AntDTextProps> {
    bold?: boolean;
    hint?: boolean;
    size?: 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
    withoutMargins?: boolean;
    color?: TypographyColor;
}
export declare function Text(userProps: TextProps): JSX.Element;
export {};
//# sourceMappingURL=Text.d.ts.map