import type { PressableProps } from 'react-native'; import type { TextProps } from './text'; import type { ButtonAppearanceUnion } from './utils/button_colors'; export interface TextButtonProps extends PressableProps { /** * Specifies whether fonts should be scaled down automatically to fit given style constraints. */ adjustsFontSizeToFit?: boolean; /** * Specifies whether fonts should scale to respect the device's text size accessibility settings. The default is true. */ allowFontScaling?: boolean; /** * Updates the button's colors */ appearance?: ButtonAppearanceUnion; /** * Renders text within a `Text` */ children?: TextProps['children']; /** * Specifies the maximum size a font can reach when allowFontScaling is enabled. */ maxFontSizeMultiplier?: number; /** * Specifies smallest possible scale a font can reach when adjustsFontSizeToFit is enabled. (values 0.01-1.0). */ minimumFontScale?: number; /** * Changes the styles and size of the text. */ variant?: TextProps['variant']; /** * Changes the styles and size of the text. */ textStyle?: TextProps['style']; } export declare function TextButton({ adjustsFontSizeToFit, allowFontScaling, appearance, disabled, children, maxFontSizeMultiplier, minimumFontScale, variant, style, textStyle, ...props }: TextButtonProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=text_button.d.ts.map