import { TDShapeType, TDToolType } from '../../types'; import { ArrowTool } from './ArrowTool'; import { LineTool } from './LineTool'; import { DrawTool } from './DrawTool'; import { EllipseTool } from './EllipseTool'; import { RectangleTool } from './RectangleTool'; import { TriangleTool } from './TriangleTool'; import { SelectTool } from './SelectTool'; import { StickyTool } from './StickyTool'; import { TextTool } from './TextTool'; import { EraseTool } from './EraseTool'; export interface ToolsMap { select: typeof SelectTool; erase: typeof EraseTool; [TDShapeType.Text]: typeof TextTool; [TDShapeType.Draw]: typeof DrawTool; [TDShapeType.Ellipse]: typeof EllipseTool; [TDShapeType.Rectangle]: typeof RectangleTool; [TDShapeType.Triangle]: typeof TriangleTool; [TDShapeType.Line]: typeof LineTool; [TDShapeType.Arrow]: typeof ArrowTool; [TDShapeType.Sticky]: typeof StickyTool; } export declare type ToolOfType = ToolsMap[K]; export declare type ArgsOfType = ConstructorParameters>; export declare const tools: { [K in TDToolType]: ToolsMap[K]; }; //# sourceMappingURL=index.d.ts.map