import { ReactNode, SyntheticEvent } from 'react'; import { BoxProps } from 'rebass'; declare type TypeProps = { checked?: boolean; as?: any; name?: string; value?: any; onChange?: (checked: boolean, event: SyntheticEvent) => void; children?: ReactNode; gapDistance?: number | string; childrenPosition?: 'start' | 'end'; }; export interface CheckBoxProps extends TypeProps, Omit { } declare const CheckBox: ({ children, checked, onChange, value, name, gapDistance, childrenPosition, as, ...props }: CheckBoxProps) => JSX.Element; export default CheckBox;