import React, { PropsWithChildren } from "react";
/**
 * A simple checkbox with nissan guidelines
 *
 * This component displays a checkbox that users can click to toggle between checked and unchecked states.
 * It shows a label next to the checkbox and supports custom sizing and grouping.
 **/
export default function CheckBox({ checked, onToggle, label, className, size, groupId, value, ...props }: PropsWithChildren<{
    checked: boolean;
    onToggle: (checked: boolean) => void;
    label: React.ReactNode;
    className?: string;
    size?: number;
    groupId: string;
    value: string;
}> & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "onToggle">): import("react/jsx-runtime").JSX.Element;
