type OnDeviceConnected = (serial: string, address: string) => void; type OnDeviceDisconnected = (serial: string) => void; declare class MDSImpl { #private; constructor(); setHandlers(deviceConnected: OnDeviceConnected, deviceDisconnected: OnDeviceDisconnected): void; connect(address: string): void; disconnect(address: string): void; get(uri: string, contract?: Record): Promise; put(uri: string, contract?: Record): Promise; post(uri: string, contract?: Record): Promise; delete(uri: string, contract?: Record): Promise; subscribe(uri: string, responseCb: (response: string) => void, errorCb: (error: Error) => void, contract?: Record): string; unsubscribe(key: string): boolean; } declare const _default: MDSImpl; export default _default; //# sourceMappingURL=MdsImpl.d.ts.map