import type { DeviceRow, I18nText } from '../../../types'; import type { DrawerTabKey } from '../components/DrawerSidebar'; interface UseDeviceDetailParams { open: boolean; record?: DeviceRow; initialTab: DrawerTabKey; translation: (val?: I18nText) => string; } /** 管理详情抽屉的当前 tab、设备详情补拉取和 integrated 设备 tab 保护。 */ export declare const useDeviceDetail: ({ open, record, initialTab, translation, }: UseDeviceDetailParams) => { activeTab: DrawerTabKey; activeKind: import("../../../types").DeviceKind; displayRecord: DeviceRow | undefined; setActiveTab: import("react").Dispatch>; }; export {};