import type { DeviceLinkedParams, DeviceRow, StoredIotDevice } from '../model';
interface UseDeviceLinkingParams {
    utils: any;
    onLinked?: (params: DeviceLinkedParams) => void | Promise<void>;
    reloadDevices: () => void;
    setStoredIotDevice: (device: StoredIotDevice) => void;
    setTakeoverDevice: (record?: DeviceRow) => void;
    setInitCheckTakeoverDevice: (record?: DeviceRow) => void;
}
/** 管理设备绑定和接管流程，以及绑定后的本地存储副作用。 */
export declare const useDeviceLinking: ({ utils, onLinked, reloadDevices, setStoredIotDevice, setTakeoverDevice, setInitCheckTakeoverDevice, }: UseDeviceLinkingParams) => {
    linkingDeviceId: number | undefined;
    handleLinkDevice: (record: DeviceRow) => Promise<void>;
};
export {};
