import * as React from "react";

export interface CheckboxProps {
  checked?: boolean;
  onChange?: (next: boolean) => void;
  label?: string;
  /** Mixed state for "select all" headers. */
  indeterminate?: boolean;
  disabled?: boolean;
  style?: React.CSSProperties;
}

/**
 * Checkbox for multi-select rows and option lists; supports indeterminate.
 */
export function Checkbox(props: CheckboxProps): JSX.Element;
