import * as React from "react"; import { Checkbox as CheckboxPrimitives } from "radix-ui"; import { type VariantProps } from "../../utils.js"; import type { CheckboxItemDto, CheckboxItemFormatted } from "../../Checkbox/index.js"; /** * Checkbox Renderer */ declare const checkboxVariants: (props?: ({ indeterminate?: boolean | null | undefined; hasLabel?: boolean | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; type CheckboxPrimitiveProps = Omit & VariantProps & CheckboxItemDto & { onChange: (checked: boolean) => void; }; interface CheckboxPrimitiveVm { item?: CheckboxItemFormatted; } type CheckboxPrimitiveRendererProps = Omit & NonNullable & { changeChecked: (checked: boolean) => void; disabled?: boolean; }; declare const CheckboxPrimitiveRenderer: (({ label, id, hasLabel, indeterminate, changeChecked, checked, className, disabled, ...props }: CheckboxPrimitiveRendererProps) => React.JSX.Element) & { original: ({ label, id, hasLabel, indeterminate, changeChecked, checked, className, disabled, ...props }: CheckboxPrimitiveRendererProps) => React.JSX.Element; originalName: string; displayName: string; } & { original: (({ label, id, hasLabel, indeterminate, changeChecked, checked, className, disabled, ...props }: CheckboxPrimitiveRendererProps) => React.JSX.Element) & { original: ({ label, id, hasLabel, indeterminate, changeChecked, checked, className, disabled, ...props }: CheckboxPrimitiveRendererProps) => React.JSX.Element; originalName: string; displayName: string; }; originalName: string; displayName: string; } & { createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<(({ label, id, hasLabel, indeterminate, changeChecked, checked, className, disabled, ...props }: CheckboxPrimitiveRendererProps) => React.JSX.Element) & { original: ({ label, id, hasLabel, indeterminate, changeChecked, checked, className, disabled, ...props }: CheckboxPrimitiveRendererProps) => React.JSX.Element; originalName: string; displayName: string; }>) => (props: unknown) => React.JSX.Element; }; declare const CheckboxPrimitive: ((props: CheckboxPrimitiveProps) => React.JSX.Element | null) & { original: (props: CheckboxPrimitiveProps) => React.JSX.Element | null; originalName: string; displayName: string; } & { original: ((props: CheckboxPrimitiveProps) => React.JSX.Element | null) & { original: (props: CheckboxPrimitiveProps) => React.JSX.Element | null; originalName: string; displayName: string; }; originalName: string; displayName: string; } & { createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<((props: CheckboxPrimitiveProps) => React.JSX.Element | null) & { original: (props: CheckboxPrimitiveProps) => React.JSX.Element | null; originalName: string; displayName: string; }>) => (props: unknown) => React.JSX.Element; }; export { CheckboxPrimitive, CheckboxPrimitiveRenderer, type CheckboxPrimitiveProps, type CheckboxPrimitiveVm };