import type { CreateDevicePayload, DeviceItem, DeviceKind, DeviceModelItem, DeviceTypeItem, ListDeviceParams, SaveWorkAreaPayload, UpdateDevicePayload, WorkAreaItem } from './types';
export declare const getWorkAreas: () => Promise<WorkAreaItem[]>;
export declare const createWorkArea: (payload: SaveWorkAreaPayload) => Promise<WorkAreaItem | null>;
export declare const updateWorkArea: (id: number | string, payload: SaveWorkAreaPayload) => Promise<WorkAreaItem | null>;
export declare const deleteWorkArea: (id: number | string) => Promise<any>;
export declare const getWorkAreaDetail: (params: {
    id: number | string;
    relation_count?: string[];
}) => Promise<WorkAreaItem | null>;
export declare const getDevices: (params: ListDeviceParams) => Promise<DeviceItem[]>;
export declare const getDeviceModel: (code: string, withFields?: string[]) => Promise<DeviceModelItem | null>;
export declare const getDeviceTypes: (params: {
    kind: DeviceKind;
    with?: string[];
}) => Promise<DeviceTypeItem[]>;
export declare const createDevice: (payload: CreateDevicePayload) => Promise<DeviceItem | null>;
export declare const updateDevice: (id: number | string, payload: UpdateDevicePayload) => Promise<DeviceItem | null>;
export declare const deleteDevice: (id: number | string) => Promise<any>;
export declare const linkDevice: (id: number | string, data: Record<string, unknown>) => Promise<DeviceItem | null>;
export declare const getDeviceSetting: (id: number | string, items: string[]) => Promise<Record<string, unknown>>;
