/** * @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. * @default CheckboxIcon */ icon?: IconProps['svg']; /** Allows being neither checked nor unchecked. */ indeterminate?: boolean; /** Whether the value fails a validation rule. */ invalid?: boolean; } & PropsWithChildren, 'aria-invalid' | 'type'>>; /** * @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. * @default CheckboxIcon */ icon?: IconProps["svg"]; /** Allows being neither checked nor unchecked. */ indeterminate?: boolean; /** Whether the value fails a validation rule. */ invalid?: boolean; } & Omit, "aria-invalid" | "type"> & { children?: import("react").ReactNode | undefined; } & import("react").RefAttributes>;