import type { TextStyle as ReactNativeTextStyle, TextProps as ReactNativeTextProps, StyleProp } from 'react-native'; type BorderKeys = 'borderWidth' | 'borderBottomWidth' | 'borderLeftWidth' | 'borderRightWidth' | 'borderTopWidth' | 'borderColor' | 'borderBottomColor' | 'borderLeftColor' | 'borderRightColor' | 'borderTopColor' | 'borderStyle'; export type TextStyle = Omit & { [K in BorderKeys]?: never; }; declare const VARIANTS: { readonly plain: "plain"; readonly secondary: "secondary"; readonly tertiary: "tertiary"; readonly footnote: "footnote"; }; type VariantUnion = (typeof VARIANTS)[keyof typeof VARIANTS]; export interface TextProps extends Omit { /** * Changes the styles and size of the text. */ variant?: VariantUnion; /** * Text styles (border and background properties are not allowed) */ style?: StyleProp; } export declare function Text({ style, variant, children, ...props }: TextProps): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=text.d.ts.map