import { EToolsKey } from "../../core/enum"; import { BaseShapeToolProps } from "../../core/tools"; import { ISVGOptions } from "../../core/types"; import { VNodeManager } from "../../core/vNodeManager"; import { VBackgroundNodeManager } from "./vNodeManager"; import { ISvgElement } from "./svgElemt"; import { BackgroundThreadEngineImpl } from "./manager"; import { BackgroundSnapshotThreadImpl } from "./snapshot"; export interface IActiveBackgroundToolsDataType { toolsType: EToolsKey.BackgroundSVG; toolsOpt: ISVGOptions; combineUnitTime?: number; maxCombineEraserTime?: number; } export interface ISVGShapeToolProps extends Omit { vNodes: VBackgroundNodeManager; toolsOpt: ISVGOptions; } export interface ISVGShadowShapeToolProps extends BaseShapeToolProps { vNodes?: VNodeManager; toolsOpt: ISVGOptions; } export declare function getShapeToolsForBackgroundThread(toolsType: EToolsKey): typeof ISvgElement | undefined; export declare function getShapeInstanceForBackgroundThread(param: { workId: string; toolsType: EToolsKey; toolsOpt: ISVGOptions; vNodes: VBackgroundNodeManager; manager: BackgroundThreadEngineImpl | BackgroundSnapshotThreadImpl; }): ISvgElement | undefined;