import type { CreateDeviceConnectionPayload, DeviceBrandItem, DeviceConnectionItem, DeviceItem, DeviceKind, DeviceTypeItem, ListDeviceConnectionParams, ListDeviceParams, MarkDeviceConnectionConnectedPayload, UpdateDeviceConnectionPayload, UpdateDevicePayload, WorkAreaItem } from './types';
export interface ApiResponse<T> {
    code?: number;
    message?: string;
    data: T;
}
export declare const getWorkAreas: () => Promise<WorkAreaItem[]>;
export declare const getDevices: (params: ListDeviceParams) => Promise<DeviceItem[]>;
export declare const getDeviceDetail: (id: number | string) => Promise<DeviceItem | null>;
export declare const createDeviceConnection: (payload: CreateDeviceConnectionPayload) => Promise<DeviceConnectionItem | null>;
export declare const getDeviceConnections: (params: ListDeviceConnectionParams) => Promise<DeviceConnectionItem[]>;
export declare const getDeviceConnectionDetail: (id: number | string) => Promise<DeviceConnectionItem | null>;
export declare const updateDeviceConnection: (id: number | string, payload: UpdateDeviceConnectionPayload) => Promise<DeviceConnectionItem | null>;
export declare const deleteDeviceConnection: (id: number | string) => Promise<any>;
export declare const markDeviceConnectionConnected: (id: number | string, payload: MarkDeviceConnectionConnectedPayload) => Promise<DeviceConnectionItem | null>;
export declare const markDeviceConnectionDisconnected: (id: number | string) => Promise<any>;
export declare const getDeviceTypes: (params: {
    kind: DeviceKind;
    with?: string[];
}) => Promise<DeviceTypeItem[]>;
export declare const getDeviceBrands: () => Promise<DeviceBrandItem[]>;
export declare const updateDevice: (id: number | string, payload: UpdateDevicePayload) => Promise<DeviceItem | null>;
export declare const deleteDevice: (id: number | string) => Promise<any>;
