/// /*! * Copyright (c) Microsoft. All rights reserved. * Licensed under the MIT license. See LICENSE file in the project. */ import type { Step } from '@datashaper/workflow'; import type { StepChangeFunction } from '../../types.js'; export type TextFieldChangeHandler = (event: React.FormEvent, newValue?: string) => void; export declare function useTextFieldChangeHandler(step: Step, updateFn: (step: Step, updated: string | undefined) => void, onChange?: StepChangeFunction): TextFieldChangeHandler;