///
/*!
* 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 { IComboBox, IComboBoxOption } from '@fluentui/react';
import type { StepChangeFunction } from '../../types.js';
export type ComboBoxChangeHandler = (event: React.FormEvent, option: IComboBoxOption | undefined, index: number | undefined, value?: string | undefined) => void;
/**
* Creates a callback handler for changing the step based on a combobox value.
* This only handles basic cases where the combobox option key can be set on the
* step using an object path.
*/
export declare function useComboBoxChangeHandler(step: Step, updateFn: (step: Step, optionKey: string | number | undefined, value: string | undefined) => void, onChange?: StepChangeFunction): ComboBoxChangeHandler;