import { TextName } from '../../design-system'; /** The kit's text colours (`--text-*`). */ export type TextColor = 'primary' | 'body' | 'secondary' | 'tertiary'; export interface TextProps { /** * A kit text style applied to the element itself, e.g. ``. Without it, `Text` styles * the `h1`–`h5`, `p` and `ul` inside it (rich content, e.g. from the CMS). */ variant?: TextName; /** * Colours the whole block. Unset with a `variant`: display, titles, subtitles and links `primary`, caption and * footnote `tertiary`, the rest `body`. Unset without: headings `primary`, the `h4` subtitle `secondary`, running text `body`. */ color?: TextColor; fullWidth?: boolean; center?: boolean; withMarginBottom?: boolean; withMarginRight?: boolean; blockchainLoadingMsg?: boolean; /** @deprecated No effect: kit text styles already switch size at the mobile breakpoint. */ responsiveFont?: boolean; small?: boolean; success?: boolean; } export interface TextCaptionProps { center?: boolean; /** Extra space above, for a caption under a link or button. */ link?: boolean; } /** * Text in a kit style (`variant`, e.g. `titleXl`, `bodyM`), or a block that styles rich content (headings, paragraphs, * lists). `Text.Caption` is the small print style. */ export declare const Text: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged, HTMLDivElement>, "style"> & { style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars; }, TextProps>> & string & { Caption: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Merged, HTMLParagraphElement>, "style"> & { style?: import('react').CSSProperties | import('styled-components/dist/types').CSSPropertiesWithVars; }, TextCaptionProps>> & string; }; export default Text;