import React from 'react'; import { type FlexComponentProps } from 'reflexy/styled'; export type CheckboxType = 'checkbox' | 'radio' | 'switch'; export interface CheckboxProps extends Omit, 'onChange'> { type?: CheckboxType | undefined; onChange?: ((checked: boolean) => void) | undefined; checked?: boolean | undefined; disabled?: boolean | undefined; /** Used with CheckboxGroup */ value?: V | undefined; } export default function Checkbox({ type, onChange, checked, disabled, value, ...rest }: React.PropsWithChildren>): React.JSX.Element;