import type { FloorMapMergedItem } from '@pisell/materials';
import type { DeviceRow, I18nText } from '../saasDevice/devicePlanning/model';
import type { RawTopologyDevice } from './topologyDeviceListView';
interface UseTopologyDeviceDetailParams {
    /** 当前画布上的原始设备（按 id 索引），用于点击时拼初始 record */
    rawDevices: RawTopologyDevice[];
    /** I18nText → string，复用 saasDevice 的 useTranslation */
    translation: (val?: I18nText) => string;
}
/** 拓扑阅读态点击设备图元 → 打开只读详情抽屉的状态管理 */
export declare function useTopologyDeviceDetail({ rawDevices, translation, }: UseTopologyDeviceDetailParams): {
    open: boolean;
    record: DeviceRow | undefined;
    openByItem: (item: FloorMapMergedItem) => void;
    close: () => void;
};
export {};
