import type { InputEvent, Key } from '../../events/input-event.js'; type Handler = (input: string, key: Key, event: InputEvent) => void; type Options = { /** * Enable or disable capturing of user input. * Useful when there are multiple useInput hooks used at once to avoid handling the same input several times. * * @default true */ isActive?: boolean; }; /** * This hook is used for handling user input. * It's a more convenient alternative to using `StdinContext` and listening to `data` events. */ declare const useInput: (inputHandler: Handler, options?: Options) => void; export default useInput; //# sourceMappingURL=use-input.d.ts.map