import React from 'react'; import type { StyleProp, ViewStyle } from 'react-native'; export interface DefaultCheckboxProps { /** * Control whether the switch is checked */ checked?: boolean; /** * Checkbox's description. */ description?: string; /** * @deprecated `withBorder` prop will be removed in the next major release, all checkboxes will have border by default. Please remove it. * * Whether the border is shown. */ withBorder?: boolean; /** * Whether the switch is disabled */ disabled?: boolean; /** * Event handler. */ onPress?: () => void; /** * Additional style. */ style?: StyleProp; /** * Testing id of the component. */ testID?: string; /** * Readonly of the checkbox. */ readonly?: boolean; } declare const DefaultCheckbox: ({ checked, description, withBorder, disabled, onPress, style, testID, readonly, }: DefaultCheckboxProps) => React.JSX.Element; export default DefaultCheckbox;