import type { DeviceRow, WorkAreaItem, WorkAreaModalMode } from '../model';
/** 管理页面内所有弹窗、抽屉和当前编辑记录。 */
export declare const useAppDeviceDialogs: () => {
    addDeviceOpen: boolean;
    takeoverDevice: DeviceRow | undefined;
    initCheckTakeoverDevice: DeviceRow | undefined;
    selectedDevice: DeviceRow | undefined;
    editDeviceOpen: boolean;
    deleteDeviceOpen: boolean;
    workAreaModalOpen: boolean;
    workAreaDrawerOpen: boolean;
    workAreaModalMode: WorkAreaModalMode;
    editingWorkArea: WorkAreaItem | undefined;
    setAddDeviceOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
    setTakeoverDevice: import("react").Dispatch<import("react").SetStateAction<DeviceRow | undefined>>;
    setInitCheckTakeoverDevice: import("react").Dispatch<import("react").SetStateAction<DeviceRow | undefined>>;
    setSelectedDevice: import("react").Dispatch<import("react").SetStateAction<DeviceRow | undefined>>;
    setEditDeviceOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
    setDeleteDeviceOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
    setWorkAreaDrawerOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
    openCreateWorkArea: () => void;
    openEditWorkArea: (record: WorkAreaItem) => void;
    closeWorkAreaModal: () => void;
    closeDeviceDialogs: () => void;
};
