/// import type { DSLQuery } from '@lingxiteam/dsl/lib/core/DSLQuery'; import type { openEventPanelType } from '../Editor/hooks/useEvent'; import type { ComponentGroup } from '../interfaces/types'; export interface SliderLeftExtraTabType { key: string; icon: React.ReactNode; name: string; tabPanelClassName?: string; form?: 'plugin'; renderTab: (e: { DSLCore?: DSLQuery; isMobile: boolean; isDragging: boolean; isActive?: boolean; }) => React.ReactNode; [key: string]: any; } export declare const Left: { Directory: string; ComponentList: string; BlockTemplate: string; Material: string; }; export declare type LeftTypes = keyof typeof Left; export interface SliderLeftViewProps { extraTabs?: SliderLeftExtraTabType[]; defaultTabKeys?: LeftTypes[]; compList?: ComponentGroup[]; openEventPanel: openEventPanelType; clickInject?: boolean; setPageViewKey: () => void; selectCompViewFunc: (compId: any) => void; tabCurrKey: any; setTabCurrKey: (i: any) => void; hoverCheck?: () => void; openWindow?: (data: any) => void; /** * 资产相关配置 */ assetsConfig?: { compListPanel?: { /** * 是否展示安装 */ canInstall: boolean; /** * 跳转的url地址 */ url: string; /** * 标题默认安装 */ title: string; }; }; [key: string]: any; }