/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ import type { InputHTMLAttributes, PropsWithChildren } from 'react'; import type { IconProps } from '../Icon'; export type CheckboxProps = { /** * An icon to display instead of the default icon. * Websites for the City of Amsterdam must use the default icon. * @default CheckboxIcon */ readonly icon?: IconProps['svg']; /** Allows being neither checked nor unchecked. */ readonly indeterminate?: boolean; /** Whether the value fails a validation rule. */ readonly invalid?: boolean; } & Readonly, 'aria-invalid' | 'type'>>>; /** * Allows users to make a selection or agree to terms. * * @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-checkbox--docs Checkbox docs at Amsterdam Design System} */ export declare const Checkbox: import("react").ForwardRefExoticComponent<{ /** * An icon to display instead of the default icon. * Websites for the City of Amsterdam must use the default icon. * @default CheckboxIcon */ readonly icon?: IconProps["svg"]; /** Allows being neither checked nor unchecked. */ readonly indeterminate?: boolean; /** Whether the value fails a validation rule. */ readonly invalid?: boolean; } & Readonly, "aria-invalid" | "type">>> & import("react").RefAttributes>;