import * as React from "react";
export type UseCheckboxState = {
  /**
   * The state object of the checkbox. This can be a boolean or
   * an array of items.
   * @default false
   */
  state?: boolean | string | any[],

  /**
   * Your change handlers to run _after_ the default dispatch
   * has occurred.
   */
  onChange?: $PropertyType<
    React.InputHTMLAttributes<HTMLInputElement>,
    "onChange"
  >,
  ...
};
declare export var useCheckboxState: (x?: UseCheckboxState) => {
  state: string | boolean | any[],
  setState: React.Dispatch<React.SetStateAction<string | boolean | any[]>>,
  onChange: (e: React.ChangeEvent<HTMLInputElement>) => void,
  ...
};
