import React from 'react'; import type { RecordBoardFloorMapProps, RecordBoardCalendarProps, RecordBoardResourceWallProps } from '../types'; /** * ShellFrame 解析子节点后的元信息,供 ToolBar 等判断是否需要「表格 / 平面图 / 日历」Segmented。 * 未处于 ShellFrame.Provider 内时为 undefined(如单独挂载 ToolBar)。 */ export interface RecordBoardShellBodyMeta { /** 子组件 FloorMap props 与根级 floorMap 合并后的结果(子优先) */ effectiveFloorMapProps?: RecordBoardFloorMapProps; /** 子组件 Calendar props 与根级 calendar 合并后的结果(子优先) */ effectiveCalendarProps?: RecordBoardCalendarProps; /** ShellFrame 内是否存在 GridLayout / CardLayout 等非 FloorMap 子节点 */ hasGridContent: boolean; /** 合并后是否存在可渲染的平面图配置 */ hasFloorMapSlot: boolean; /** 合并后是否存在可渲染的日历配置 */ hasCalendarSlot: boolean; /** 子组件 ResourceWall props 与根级 resourceWall 合并后的结果(子优先) */ effectiveResourceWallProps?: RecordBoardResourceWallProps; /** 合并后是否存在大屏资源墙槽(根级或子节点声明即 true) */ hasResourceWallSlot: boolean; } export declare const RecordBoardShellBodyMetaContext: React.Context; export declare function useRecordBoardShellBodyMeta(): RecordBoardShellBodyMeta | undefined;