import { Ref } from 'vue'; import { SelectOptionValue } from '../types/index.js'; export declare const useCheckAll: (enabledOptionValues: Ref, modelValue: Ref, onChangeCallback: (newValue: TValue[]) => void) => { /** * Current "select all" checkbox state. * - checked if all options are checked * - indeterminate if at least one but not all options are checked * - unchecked if no options are checked */ state: import('vue').ComputedRef<{ modelValue: boolean; indeterminate: true | undefined; }>; /** * Provides an update for the checkbox list with * - all option values if "select all" was checked * - an empty list if "select all" was unchecked * Does not touch the state of disabled checkboxes */ handleChange: (isChecked: boolean) => void; };