import * as React from 'react'; import type { CheckboxChangeHandler } from '../Checkbox'; export declare type UseCheckboxValueReturn = [ boolean, CheckboxChangeHandler, React.Dispatch> ]; /** * Use this hook to get automatically the checkbox value * and the handler function to attach to checkbox. * Additionally function to force change will be returned * * @param initialValue */ export declare function useCheckboxValue( initialValue?: boolean | null ): UseCheckboxValueReturn;