import type { PressableProps } from 'react-native'; import { IconString } from './icon'; type RestrictedPressableProps = Omit; export interface ToggleButtonProps extends RestrictedPressableProps { /** * Whether the toggle button is active/checked */ active: boolean; /** * Required accessibility label for screen readers. * When title is provided, this provides additional context. * When title is omitted (icon-only mode), this is the primary label. */ accessibilityLabel: string; /** * 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; /** * Generates an icon to the left of the button text */ iconNameLeft?: IconString; /** * Generates an icon to the right of the button text */ iconNameRight?: IconString; /** * 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; /** * Renders as text within the button. * When omitted, button displays in icon-only mode. */ title?: string; /** * Pressable container styles */ style?: PressableProps['style']; /** * Specifies whether haptic feedback should be enabled. */ hapticFeedback?: boolean; } export declare function ToggleButton({ active, accessibilityLabel, adjustsFontSizeToFit, allowFontScaling, iconNameLeft, iconNameRight, maxFontSizeMultiplier, minimumFontScale, title, style, hapticFeedback, onPress, ...props }: ToggleButtonProps): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=toggle_button.d.ts.map