import type { CreateDevicePayload, DeviceItem, DeviceKind, 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 sortWorkAreas: (ids: number[]) => Promise<any>;
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 getDeviceTypes: (params: {
    kind: DeviceKind;
    with?: string[];
}) => Promise<DeviceTypeItem[]>;
export declare const createDevice: (payload: CreateDevicePayload) => Promise<DeviceItem | null>;
export declare const sortDevices: (ids: number[]) => Promise<any>;
export declare const updateDevice: (id: number | string, payload: UpdateDevicePayload) => Promise<DeviceItem | null>;
export declare const deleteDevice: (id: number | string) => Promise<any>;
