import type { Dispatch, SetStateAction, SyntheticEvent } from 'react'; interface Props { readonly defaultChecked?: boolean | undefined; readonly onChange?: ((event: SyntheticEvent, checked: boolean) => void) | undefined; } export interface State { readonly checked: boolean; readonly handleChange: (event: SyntheticEvent, checked: boolean) => void; readonly setChecked: Dispatch>; } export default function useFormControlLabel({ defaultChecked, onChange, }?: Partial): State; export {};