import type { JSX } from "../dependencies/types"; import type { NevoProps } from "../types"; /** * Returns an event listener that, when triggered, extracts the value from the target element and provides it to the NEVO property `onChange(value, name)`. * * @param props Properties `name` and `onChange` according to the NEVO pattern. * @param extractValue Callback extracting the value from the provided target element. * @returns Event listener. */ export declare function useInput(props: Pick, "name" | "value" | "onChange">, extractValue: (element: HTMLInputElement) => T): ((event: JSX.TargetedEvent) => void) | undefined;