import React from "react";
import { VoidFunc } from "../../../fd-toolbox/functions/internal-getter-setter-functions";
/**
 * Props for {@link Checkbox}
 *
 * Extends [CheckboxProps](https:/www.radix-ui.com/primitives/docs/components/checkbox#root)
 */
interface CheckboxProps {
    id?: string;
    onCheckedChange?: VoidFunc<boolean>;
    checked?: boolean;
    className?: string;
    /** Label text to display next to the checkbox */
    text?: string;
}
/**
 * Checkbox component with optional label text
 *
 * @param props - {@link CheckboxProps}
 *
 * Based on [Checkbox](https:/ui.shadcn.com/docs/components/checkbox)
 *
 * @example
 * ```tsx
 * function MyComponent() {
 *   const [isChecked, setIsChecked] = useState(false);
 *
 *   return (
 *     <Checkbox text="Accept terms and conditions" checked={isChecked} onCheckedChange={setIsChecked}/>
 *   );
 * }
 * ```
 */
declare function Checkbox({ className, text, checked, onCheckedChange, id }: CheckboxProps): React.JSX.Element;
declare namespace Checkbox {
    var displayName: string;
}
export { Checkbox, type CheckboxProps };
