/*!
 * Copyright (c) Microsoft. All rights reserved.
 * Licensed under the MIT license. See LICENSE file in the project.
 */
import type { RecodeArgs, Value } from '@datashaper/schema';
import { DataType } from '@datashaper/schema';
import type { Step } from '@datashaper/workflow';
import type ColumnTable from 'arquero/dist/types/table/column-table';
import type { StepChangeFunction } from '../types.js';
export declare function useColumnValues(step: Step<RecodeArgs>, table?: ColumnTable): Value[];
export declare function useHandleKeyChange(step: Step<RecodeArgs>, onChange?: StepChangeFunction<RecodeArgs>): (previousKey: Value, newKey: Value) => void;
export declare function useHandleValueChange(step: Step<RecodeArgs>, dataType: DataType, onChange?: StepChangeFunction<RecodeArgs>): (key: Value, newValue: Value) => void;
export declare function useRecodeDelete(step: Step<RecodeArgs>, onChange?: StepChangeFunction<RecodeArgs>): (value: Value) => void;
export declare function useHandleAddButtonClick(step: Step<RecodeArgs>, values: Value[], onChange?: StepChangeFunction<RecodeArgs>): () => void;
export declare function useDisabled(step: Step<RecodeArgs>, values: Value[]): boolean;
