import * as React from 'react'; import type { RenderProp } from '../../contracts/components.js'; export interface TextProps extends React.HTMLAttributes { /** S-03 type role; defaults to 'body'. */ type?: 'body' | 'callout' | 'caption' | 'label' | 'mono'; /** Optional override; unset = the type role's own size. */ size?: 'xs' | 'sm' | 'md' | 'lg' | undefined; /** Uses the secondary (muted) text colour. */ muted?: boolean; /** Status colour of the text. */ intent?: 'neutral' | 'success' | 'warning' | 'danger'; /** Font weight. */ weight?: 'light' | 'regular' | 'medium' | 'semibold' | 'bold'; /** Clips to one line with an ellipsis. */ truncate?: boolean; /** Element or render function used instead of the default

. */ render?: RenderProp>; } export declare function Text({ type, size, muted, intent, weight, truncate, render, className, ref, ...rest }: TextProps & { /** Ref to the rendered root element. */ ref?: React.Ref | undefined; }): React.ReactElement>; //# sourceMappingURL=Text.d.ts.map