import type { DeviceKind, DeviceModelItem, DeviceTypeItem, I18nText } from '../model';
interface UseAppDeviceModelsParams {
    kind: DeviceKind;
    showBack: boolean;
    iotEndpoint: string;
    translation: (val?: I18nText) => string;
}
/** 管理设备型号选择、型号详情加载和型号分组展示数据。 */
export declare const useAppDeviceModels: ({ kind, showBack, iotEndpoint, translation, }: UseAppDeviceModelsParams) => {
    typeCode: string;
    modelCode: string;
    isModelSelecting: boolean;
    modelDetail: DeviceModelItem | undefined;
    modelName: string;
    modelDescription: string;
    deviceTypeName: string;
    deviceTypeGroups: import("../model").DeviceTypeGroup[];
    deviceTypeRequest: import("ahooks/lib/useRequest/src/types").Result<DeviceTypeItem[], []>;
    modelRequest: import("ahooks/lib/useRequest/src/types").Result<DeviceModelItem | null, [code: string, withFields?: string[] | undefined]>;
    handleSelectDeviceModel: (type: DeviceTypeItem, model: DeviceModelItem) => void;
    clearDeviceModel: () => void;
};
export {};
