type UseIndexValueParams = { fieldValue: readonly unknown[]; optionValues: readonly unknown[]; }; /** * Custom hook to manage the active indexes of a multi options field. * @returns A tuple containing the active indexes and a function to set the refs. */ export declare function useIndexValue({ fieldValue, optionValues, }: UseIndexValueParams): { value: readonly string[]; indexRef: import("react").MutableRefObject; setRefs: ({ nextIndexes, nextValues, }: { nextIndexes: readonly string[]; nextValues: readonly unknown[]; }) => void; }; export {};