import React from "react";
import { type FieldsetProps } from "../fieldset";
export interface CheckboxGroupProps extends Omit<FieldsetProps, "onChange" | "errorPropagation" | "defaultValue" | "nativeReadOnly"> {
    /**
     * Collection of `<Checkbox/>`.
     */
    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
 * <CheckboxGroup legend="Transportmiddel">
 *   <Checkbox value="car">Bil</Checkbox>
 *   <Checkbox value="taxi">Drosje</Checkbox>
 *   <Checkbox value="public">Kollektivt</Checkbox>
 * </CheckboxGroup>
 * ```
 */
export declare const CheckboxGroup: React.ForwardRefExoticComponent<CheckboxGroupProps & React.RefAttributes<HTMLFieldSetElement>>;
export default CheckboxGroup;
