@shopware-ag/dive
Version:
Shopware Spatial Framework
14 lines (13 loc) • 471 B
TypeScript
import { Action } from '../action.ts';
import { ActionDependencies } from '../../../types/index.ts';
import { ToolType } from '../../../../toolbox/index.ts';
export declare const UseToolAction: new (payload: {
tool: ToolType;
}, dependencies: Pick<ActionDependencies, "getToolbox">) => Action<{
tool: ToolType;
}, Pick<ActionDependencies, "getToolbox">, Promise<void>>;
declare global {
interface ActionTypes {
USE_TOOL: typeof UseToolAction;
}
}