import * as React from 'react'; import TouchableRipple from '../TouchableRipple/TouchableRipple'; import type { $RemoveChildren } from '../../types'; declare type Props = $RemoveChildren & { /** * Status of checkbox. */ status: 'checked' | 'unchecked' | 'indeterminate'; /** * Whether checkbox is disabled. */ disabled?: boolean; /** * Function to execute on press. */ onPress?: () => void; /** * Custom color for checkbox. */ color?: string; /** * @optional */ theme: ReactNativePaper.Theme; /** * testID to be used on tests. */ testID?: string; }; declare const _default: React.ComponentType & { borderless?: boolean | undefined; background?: Object | undefined; centered?: boolean | undefined; /** * @optional */ disabled?: boolean | undefined; onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined; onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined; rippleColor?: string | undefined; underlayColor?: string | undefined; children: React.ReactNode; style?: import("react-native").StyleProp; theme: ReactNativePaper.Theme; }, keyof import("react-native").TouchableWithoutFeedbackProps | "background" | "borderless" | "rippleColor" | "underlayColor" | "centered" | keyof React.RefAttributes> & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics & { borderless?: boolean | undefined; background?: Object | undefined; centered?: boolean | undefined; /** * @optional */ disabled?: boolean | undefined; onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined; onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined; rippleColor?: string | undefined; underlayColor?: string | undefined; children: React.ReactNode; style?: import("react-native").StyleProp; theme: ReactNativePaper.Theme; }> & { ({ style, background: _background, borderless, disabled: disabledProp, rippleColor, underlayColor: _underlayColor, children, theme, ...rest }: import("react-native").TouchableWithoutFeedbackProps & React.RefAttributes & { borderless?: boolean | undefined; background?: Object | undefined; centered?: boolean | undefined; /** * @optional */ disabled?: boolean | undefined; onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined; onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined; rippleColor?: string | undefined; underlayColor?: string | undefined; children: React.ReactNode; style?: import("react-native").StyleProp; theme: ReactNativePaper.Theme; }): JSX.Element; supported: boolean; }, {}>> & { /** * Status of checkbox. */ status: "checked" | "unchecked" | "indeterminate"; /** * Whether checkbox is disabled. */ disabled?: boolean | undefined; /** * Function to execute on press. */ onPress?: (() => void) | undefined; /** * Custom color for checkbox. */ color?: string | undefined; /** * @optional */ theme: ReactNativePaper.Theme; /** * testID to be used on tests. */ testID?: string | undefined; }, "style" | "color" | "onLayout" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "testID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "key" | "hitSlop" | "delayLongPress" | "delayPressIn" | "delayPressOut" | "disabled" | "onBlur" | "onFocus" | "pressRetentionOffset" | "touchSoundDisabled" | "background" | "borderless" | "rippleColor" | "underlayColor" | "centered" | "status"> & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics & { borderless?: boolean | undefined; background?: Object | undefined; centered?: boolean | undefined; /** * @optional */ disabled?: boolean | undefined; onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined; onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined; rippleColor?: string | undefined; underlayColor?: string | undefined; children: React.ReactNode; style?: import("react-native").StyleProp; theme: ReactNativePaper.Theme; }, keyof import("react-native").TouchableWithoutFeedbackProps | "background" | "borderless" | "rippleColor" | "underlayColor" | "centered" | keyof React.RefAttributes> & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics & { borderless?: boolean | undefined; background?: Object | undefined; centered?: boolean | undefined; /** * @optional */ disabled?: boolean | undefined; onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined; onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined; rippleColor?: string | undefined; underlayColor?: string | undefined; children: React.ReactNode; style?: import("react-native").StyleProp; theme: ReactNativePaper.Theme; }> & { ({ style, background: _background, borderless, disabled: disabledProp, rippleColor, underlayColor: _underlayColor, children, theme, ...rest }: import("react-native").TouchableWithoutFeedbackProps & React.RefAttributes & { borderless?: boolean | undefined; background?: Object | undefined; centered?: boolean | undefined; /** * @optional */ disabled?: boolean | undefined; onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined; onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined; rippleColor?: string | undefined; underlayColor?: string | undefined; children: React.ReactNode; style?: import("react-native").StyleProp; theme: ReactNativePaper.Theme; }): JSX.Element; supported: boolean; }, {}>> & { /** * Status of checkbox. */ status: "checked" | "unchecked" | "indeterminate"; /** * Whether checkbox is disabled. */ disabled?: boolean | undefined; /** * Function to execute on press. */ onPress?: (() => void) | undefined; /** * Custom color for checkbox. */ color?: string | undefined; /** * @optional */ theme: ReactNativePaper.Theme; /** * testID to be used on tests. */ testID?: string | undefined; }> & { ({ status, disabled, onPress, theme, testID, ...rest }: Props): JSX.Element; displayName: string; }, {}>; export default _default; declare const CheckboxIOSWithTheme: React.ComponentType & { borderless?: boolean | undefined; background?: Object | undefined; centered?: boolean | undefined; /** * @optional */ disabled?: boolean | undefined; onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined; onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined; rippleColor?: string | undefined; underlayColor?: string | undefined; children: React.ReactNode; style?: import("react-native").StyleProp; theme: ReactNativePaper.Theme; }, keyof import("react-native").TouchableWithoutFeedbackProps | "background" | "borderless" | "rippleColor" | "underlayColor" | "centered" | keyof React.RefAttributes> & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics & { borderless?: boolean | undefined; background?: Object | undefined; centered?: boolean | undefined; /** * @optional */ disabled?: boolean | undefined; onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined; onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined; rippleColor?: string | undefined; underlayColor?: string | undefined; children: React.ReactNode; style?: import("react-native").StyleProp; theme: ReactNativePaper.Theme; }> & { ({ style, background: _background, borderless, disabled: disabledProp, rippleColor, underlayColor: _underlayColor, children, theme, ...rest }: import("react-native").TouchableWithoutFeedbackProps & React.RefAttributes & { borderless?: boolean | undefined; background?: Object | undefined; centered?: boolean | undefined; /** * @optional */ disabled?: boolean | undefined; onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined; onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined; rippleColor?: string | undefined; underlayColor?: string | undefined; children: React.ReactNode; style?: import("react-native").StyleProp; theme: ReactNativePaper.Theme; }): JSX.Element; supported: boolean; }, {}>> & { /** * Status of checkbox. */ status: 'checked' | 'unchecked' | 'indeterminate'; /** * Whether checkbox is disabled. */ disabled?: boolean | undefined; /** * Function to execute on press. */ onPress?: (() => void) | undefined; /** * Custom color for checkbox. */ color?: string | undefined; /** * @optional */ theme: ReactNativePaper.Theme; /** * testID to be used on tests. */ testID?: string | undefined; }, "style" | "color" | "onLayout" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "testID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "key" | "hitSlop" | "delayLongPress" | "delayPressIn" | "delayPressOut" | "disabled" | "onBlur" | "onFocus" | "pressRetentionOffset" | "touchSoundDisabled" | "background" | "borderless" | "rippleColor" | "underlayColor" | "centered" | "status"> & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics & { borderless?: boolean | undefined; background?: Object | undefined; centered?: boolean | undefined; /** * @optional */ disabled?: boolean | undefined; onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined; onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined; rippleColor?: string | undefined; underlayColor?: string | undefined; children: React.ReactNode; style?: import("react-native").StyleProp; theme: ReactNativePaper.Theme; }, keyof import("react-native").TouchableWithoutFeedbackProps | "background" | "borderless" | "rippleColor" | "underlayColor" | "centered" | keyof React.RefAttributes> & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics & { borderless?: boolean | undefined; background?: Object | undefined; centered?: boolean | undefined; /** * @optional */ disabled?: boolean | undefined; onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined; onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined; rippleColor?: string | undefined; underlayColor?: string | undefined; children: React.ReactNode; style?: import("react-native").StyleProp; theme: ReactNativePaper.Theme; }> & { ({ style, background: _background, borderless, disabled: disabledProp, rippleColor, underlayColor: _underlayColor, children, theme, ...rest }: import("react-native").TouchableWithoutFeedbackProps & React.RefAttributes & { borderless?: boolean | undefined; background?: Object | undefined; centered?: boolean | undefined; /** * @optional */ disabled?: boolean | undefined; onPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined; onLongPress?: ((e: import("react-native").GestureResponderEvent) => void) | undefined; rippleColor?: string | undefined; underlayColor?: string | undefined; children: React.ReactNode; style?: import("react-native").StyleProp; theme: ReactNativePaper.Theme; }): JSX.Element; supported: boolean; }, {}>> & { /** * Status of checkbox. */ status: 'checked' | 'unchecked' | 'indeterminate'; /** * Whether checkbox is disabled. */ disabled?: boolean | undefined; /** * Function to execute on press. */ onPress?: (() => void) | undefined; /** * Custom color for checkbox. */ color?: string | undefined; /** * @optional */ theme: ReactNativePaper.Theme; /** * testID to be used on tests. */ testID?: string | undefined; }> & { ({ status, disabled, onPress, theme, testID, ...rest }: Props): JSX.Element; displayName: string; }, {}>; export { CheckboxIOSWithTheme as CheckboxIOS };