import React from 'react';
import type { TypographySize, TypographyWeight } from '../../elements/typography/Typography';
import type { SpacingProps } from '../../shared/types';
import type { SkeletonShow } from '../skeleton/Skeleton';
import type { SkeletonMethods } from '../skeleton/SkeletonHelper';
type TextOwnProps = {
    /** @internal Not documented – used by internal sub-components only. */
    element?: keyof JSX.IntrinsicElements;
    srLabel?: React.ReactNode;
    fontSize?: TypographySize;
    fontWeight?: TypographyWeight;
    colorizeBySign?: boolean | number;
    skeleton?: SkeletonShow;
};
export type TextProps = Omit<React.HTMLProps<HTMLElement>, keyof TextOwnProps | 'ref'> & TextOwnProps & SpacingProps;
/** @internal */
export type TextInternalProps = TextProps & {
    textClassName?: string | false;
    skeletonMethod?: SkeletonMethods;
};
declare function TextInternal(props: TextInternalProps): import("react/jsx-runtime").JSX.Element;
declare namespace TextInternal {
    var _supportsSpacingProps: boolean;
}
declare function Text(props: TextProps): import("react/jsx-runtime").JSX.Element;
declare namespace Text {
    var _supportsSpacingProps: boolean;
}
export { TextInternal };
export default Text;
