/*! * 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 { ICommandBarProps, IContextualMenuItem } from '@fluentui/react'; import type { ModalState } from '../../hooks/index.js'; export declare function useColumnCommands(onCallStep: (ev?: React.MouseEvent | React.KeyboardEvent, item?: IContextualMenuItem) => void, disabled: boolean, color?: string, background?: string, baseProps?: Partial): ICommandBarProps; export declare function useTableCommands(onCallStep: (ev?: React.MouseEvent | React.KeyboardEvent, item?: IContextualMenuItem) => void, disabled: boolean, color?: string, background?: string, baseProps?: Partial): ICommandBarProps; export declare function useUndoCommands(onUndoStep: () => void, disabled: boolean, color?: string, background?: string, baseProps?: Partial): ICommandBarProps; export declare function useTransformModalState(setStep: (step: Step | undefined) => void, setStepIndex: (index: number | undefined) => void): ModalState;