import type { PickRequired } from "@ariakit/core/utils/types"; import type { ReactElement, ReactNode } from "react"; import type { CheckboxStoreProps, CheckboxStoreValue } from "./checkbox-store.ts"; type Value = CheckboxStoreValue; /** * Provides a checkbox store for its descendants. This comes in handy when * creating a group of checkboxes that share the same state. `CheckboxProvider` * can efficiently manage the value of a checkbox, whether it's a single string, * number, or boolean value, or an array of such values. * @see https://ariakit.com/components/checkbox * @example * ```jsx * * * * * * ``` */ export declare function CheckboxProvider(props: PickRequired, "value" | "defaultValue">): ReactElement; export declare function CheckboxProvider(props?: CheckboxProviderProps): ReactElement; export interface CheckboxProviderProps extends CheckboxStoreProps { children?: ReactNode; } export {};