/*!
 * Copyright (c) Microsoft. All rights reserved.
 * Licensed under the MIT license. See LICENSE file in the project.
 */
import type { Step, Workflow } from '@datashaper/workflow';
import { DisplayOrder } from '../enums.js';
export declare function useTableHandlers(workflow: Workflow, steps: Step[], order: DisplayOrder | undefined, onSelect?: (name: string) => void): {
    onSelectOriginalTable: () => void;
    onSelectLatest: () => void;
};
export declare function useDeleteConfirm(onDelete?: (index: number) => void): {
    isOpen: boolean;
    toggle: () => void;
    onClick: (index: number) => void;
    onConfirm: () => void;
};
