import type { NevoProps, OptionProps } from "../types"; /** * Renames the `value` prop to `${optionName}`, and renames the `onChange` prop to `onChange${capitalized(optionName)}` while transforming it into a simple mutator that takes only the new `value` as argument. * * @param props Properties according to the NEVO pattern. * @param optionName The name to use for the option. * @returns Properties `${optionName}` and `onChange${capitalized(optionName)}`. */ export declare function useOption(props: Pick, "name" | "value" | "onChange">, optionName: K): OptionProps;