/** * 平面图数据/保存等注入上下文;单独页面包 `FloorMapLayoutProvider`,RecordBoard 由 Shell 内置 Provider。 */ import React from 'react'; import type { FloorMapLayoutContextValue } from '../types'; /** * 未传 `floorMapLayoutContext` 时 Shell 使用该稳定引用,避免无意义变更引用。 */ export declare const EMPTY_FLOOR_MAP_LAYOUT_CONTEXT: FloorMapLayoutContextValue; export declare function useFloorMapLayoutContext(): FloorMapLayoutContextValue | undefined; export interface FloorMapLayoutProviderProps { value: FloorMapLayoutContextValue; children: React.ReactNode; } /** 注入 `FloorMapLayoutContextValue`;`value` 建议由调用方 `useMemo` 稳定化 */ export declare function FloorMapLayoutProvider({ value, children, }: FloorMapLayoutProviderProps): React.JSX.Element;