import React from "react"; import type { CheckboxItemDto, CheckboxItemFormatted } from "../../Checkbox/index.js"; interface CheckboxGroupPrimitiveProps { /** * Array of checkbox items. */ items: CheckboxItemDto[]; /** * Callback function called when the checkbox values change. */ onChange?: (values: TValue[]) => void; /** * Array of selected checkbox values. */ value?: TValue[]; /** * Is checkbox group disabled? */ disabled?: boolean; } interface CheckboxGroupPrimitiveVm { items: CheckboxItemFormatted[]; } type CheckboxGroupPrimitiveRendererProps = CheckboxGroupPrimitiveVm & { changeChecked: (value: TValue) => void; disabled?: boolean; }; declare const CheckboxGroupPrimitiveRenderer: (({ items, changeChecked, disabled }: CheckboxGroupPrimitiveRendererProps) => React.JSX.Element) & { original: ({ items, changeChecked, disabled }: CheckboxGroupPrimitiveRendererProps) => React.JSX.Element; originalName: string; displayName: string; } & { original: (({ items, changeChecked, disabled }: CheckboxGroupPrimitiveRendererProps) => React.JSX.Element) & { original: ({ items, changeChecked, disabled }: CheckboxGroupPrimitiveRendererProps) => React.JSX.Element; originalName: string; displayName: string; }; originalName: string; displayName: string; } & { createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<(({ items, changeChecked, disabled }: CheckboxGroupPrimitiveRendererProps) => React.JSX.Element) & { original: ({ items, changeChecked, disabled }: CheckboxGroupPrimitiveRendererProps) => React.JSX.Element; originalName: string; displayName: string; }>) => (props: unknown) => React.JSX.Element; }; declare const CheckboxGroupPrimitive: ((props: CheckboxGroupPrimitiveProps) => React.JSX.Element) & { original: (props: CheckboxGroupPrimitiveProps) => React.JSX.Element; originalName: string; displayName: string; } & { original: ((props: CheckboxGroupPrimitiveProps) => React.JSX.Element) & { original: (props: CheckboxGroupPrimitiveProps) => React.JSX.Element; originalName: string; displayName: string; }; originalName: string; displayName: string; } & { createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<((props: CheckboxGroupPrimitiveProps) => React.JSX.Element) & { original: (props: CheckboxGroupPrimitiveProps) => React.JSX.Element; originalName: string; displayName: string; }>) => (props: unknown) => React.JSX.Element; }; export { CheckboxGroupPrimitive, CheckboxGroupPrimitiveRenderer, type CheckboxGroupPrimitiveProps, type CheckboxGroupPrimitiveRendererProps, type CheckboxGroupPrimitiveVm };