import { type StyledComponent } from 'styled-components';
import React from 'react';
import type { SystemCommonProps, SystemTypographyProps } from '../constants';
import type { SxProp } from '../sx';
import type { ComponentProps } from '../utils/types';
type StyledTextProps = {
    as?: React.ComponentType<any> | keyof JSX.IntrinsicElements;
    size?: 'large' | 'medium' | 'small';
    weight?: 'light' | 'normal' | 'medium' | 'semibold';
} & SystemTypographyProps & SystemCommonProps & SxProp;
declare const StyledText: StyledComponent<"span", any, StyledTextProps, never>;
declare const Text: StyledComponent<"span", any, StyledTextProps, never>;
export type TextProps = ComponentProps<typeof StyledText>;
export default Text;
//# sourceMappingURL=Text.d.ts.map