import React from "react"; import { FieldsetProps } from "../fieldset"; export interface CheckboxGroupState { readonly defaultValue?: readonly any[]; readonly value?: readonly any[]; toggleValue(value: any): void; } export declare const CheckboxGroupContext: React.Context; export interface CheckboxGroupProps extends Omit { /** * Collection of ``. */ children: React.ReactNode; /** * Controlled state for checkboxes. */ value?: any[]; /** * Default checked checkboxes. */ defaultValue?: any[]; /** * Returns current checked checkboxes in group. */ onChange?: (value: any[]) => void; } /** * A component that allows users to select one or more options from a list. * * @see [📝 Documentation](https://aksel.nav.no/komponenter/core/checkbox) * @see 🏷️ {@link CheckboxProps} * * @example * ```jsx * * Bil * Drosje * Kollektivt * * ``` */ export declare const CheckboxGroup: React.ForwardRefExoticComponent>; export default CheckboxGroup;