import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
import { Observable } from 'rxjs';
import { CommonResult } from '../model/commonResult';
import { SimpleSensorStoreEntry } from '../model/simpleSensorStoreEntry';
import { Configuration } from '../configuration';
import { SimpleSensorServiceInterface } from './simpleSensor.serviceInterface';
import * as i0 from "@angular/core";
export declare class SimpleSensorService implements SimpleSensorServiceInterface {
    protected httpClient: HttpClient;
    protected basePath: string;
    defaultHeaders: HttpHeaders;
    configuration: Configuration;
    encoder: HttpParameterCodec;
    constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
    private addToHttpParams;
    private addToHttpParamsRecursive;
    /**
     * @param DeviceID
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    clearDevice(DeviceID?: string, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<CommonResult>;
    clearDevice(DeviceID?: string, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<CommonResult>>;
    clearDevice(DeviceID?: string, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<CommonResult>>;
    /**
     * @param DeviceID
     * @param SensorContext
     * @param RangeStart
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    clearDeviceContextAfterDate(DeviceID?: string, SensorContext?: string, RangeStart?: Date, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<CommonResult>;
    clearDeviceContextAfterDate(DeviceID?: string, SensorContext?: string, RangeStart?: Date, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<CommonResult>>;
    clearDeviceContextAfterDate(DeviceID?: string, SensorContext?: string, RangeStart?: Date, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<CommonResult>>;
    /**
     * @param DeviceID
     * @param SensorContext
     * @param RangeStart
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    clearDeviceContextBeforeDate(DeviceID?: string, SensorContext?: string, RangeStart?: Date, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<CommonResult>;
    clearDeviceContextBeforeDate(DeviceID?: string, SensorContext?: string, RangeStart?: Date, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<CommonResult>>;
    clearDeviceContextBeforeDate(DeviceID?: string, SensorContext?: string, RangeStart?: Date, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<CommonResult>>;
    /**
     * @param DeviceID
     * @param SensorContext
     * @param RangeStart
     * @param RangeEnd
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    clearDeviceContextWithinDateRange(DeviceID?: string, SensorContext?: string, RangeStart?: Date, RangeEnd?: Date, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<CommonResult>;
    clearDeviceContextWithinDateRange(DeviceID?: string, SensorContext?: string, RangeStart?: Date, RangeEnd?: Date, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<CommonResult>>;
    clearDeviceContextWithinDateRange(DeviceID?: string, SensorContext?: string, RangeStart?: Date, RangeEnd?: Date, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<CommonResult>>;
    /**
     * @param DeviceID
     * @param SensorContext
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    clearDeviceForContext(DeviceID?: string, SensorContext?: string, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<CommonResult>;
    clearDeviceForContext(DeviceID?: string, SensorContext?: string, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<CommonResult>>;
    clearDeviceForContext(DeviceID?: string, SensorContext?: string, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<CommonResult>>;
    /**
     * @param SimpleSensorStoreID
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    deleteSensorItem(SimpleSensorStoreID?: number, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<CommonResult>;
    deleteSensorItem(SimpleSensorStoreID?: number, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<CommonResult>>;
    deleteSensorItem(SimpleSensorStoreID?: number, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<CommonResult>>;
    /**
     * @param request_body
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    deleteSensorList(request_body?: Array<number>, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<CommonResult>;
    deleteSensorList(request_body?: Array<number>, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<CommonResult>>;
    deleteSensorList(request_body?: Array<number>, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<CommonResult>>;
    /**
     * @param SimpleSensorStoreEntry
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    insertMessageBatch(SimpleSensorStoreEntry?: Array<SimpleSensorStoreEntry>, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<CommonResult>;
    insertMessageBatch(SimpleSensorStoreEntry?: Array<SimpleSensorStoreEntry>, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<CommonResult>>;
    insertMessageBatch(SimpleSensorStoreEntry?: Array<SimpleSensorStoreEntry>, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<CommonResult>>;
    /**
     * @param SimpleSensorStoreEntry
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    insertSensorEvent(SimpleSensorStoreEntry?: SimpleSensorStoreEntry, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<CommonResult>;
    insertSensorEvent(SimpleSensorStoreEntry?: SimpleSensorStoreEntry, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<CommonResult>>;
    insertSensorEvent(SimpleSensorStoreEntry?: SimpleSensorStoreEntry, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<CommonResult>>;
    /**
     * @param DeviceID
     * @param SensorContext
     * @param SensorTypeID
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    selectDeviceLatest(DeviceID?: string, SensorContext?: string, SensorTypeID?: number, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<SimpleSensorStoreEntry>;
    selectDeviceLatest(DeviceID?: string, SensorContext?: string, SensorTypeID?: number, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<SimpleSensorStoreEntry>>;
    selectDeviceLatest(DeviceID?: string, SensorContext?: string, SensorTypeID?: number, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<SimpleSensorStoreEntry>>;
    /**
     * @param DeviceID
     * @param SensorContext
     * @param SensorTypeID
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    selectDeviceReadings(DeviceID?: string, SensorContext?: string, SensorTypeID?: number, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<Array<SimpleSensorStoreEntry>>;
    selectDeviceReadings(DeviceID?: string, SensorContext?: string, SensorTypeID?: number, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<Array<SimpleSensorStoreEntry>>>;
    selectDeviceReadings(DeviceID?: string, SensorContext?: string, SensorTypeID?: number, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<Array<SimpleSensorStoreEntry>>>;
    /**
     * @param DeviceID
     * @param SensorContext
     * @param SensorTypeID
     * @param RangeStart
     * @param RangeEnd
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    selectDeviceReadingsForDateRange(DeviceID?: string, SensorContext?: string, SensorTypeID?: number, RangeStart?: Date, RangeEnd?: Date, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<Array<SimpleSensorStoreEntry>>;
    selectDeviceReadingsForDateRange(DeviceID?: string, SensorContext?: string, SensorTypeID?: number, RangeStart?: Date, RangeEnd?: Date, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<Array<SimpleSensorStoreEntry>>>;
    selectDeviceReadingsForDateRange(DeviceID?: string, SensorContext?: string, SensorTypeID?: number, RangeStart?: Date, RangeEnd?: Date, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<Array<SimpleSensorStoreEntry>>>;
    /**
     * @param SimpleSensorStoreID
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    selectSensorItem(SimpleSensorStoreID?: number, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<SimpleSensorStoreEntry>;
    selectSensorItem(SimpleSensorStoreID?: number, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<SimpleSensorStoreEntry>>;
    selectSensorItem(SimpleSensorStoreID?: number, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<SimpleSensorStoreEntry>>;
    /**
     * @param DeviceID
     * @param SensorContext
     * @param SensorTypeID
     * @param TopCount
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    selectTopNDeviceReadings(DeviceID?: string, SensorContext?: string, SensorTypeID?: number, TopCount?: number, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<Array<SimpleSensorStoreEntry>>;
    selectTopNDeviceReadings(DeviceID?: string, SensorContext?: string, SensorTypeID?: number, TopCount?: number, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<Array<SimpleSensorStoreEntry>>>;
    selectTopNDeviceReadings(DeviceID?: string, SensorContext?: string, SensorTypeID?: number, TopCount?: number, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<Array<SimpleSensorStoreEntry>>>;
    /**
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    sensorsClearAll(observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<CommonResult>;
    sensorsClearAll(observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpResponse<CommonResult>>;
    sensorsClearAll(observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'application/json';
        context?: HttpContext;
    }): Observable<HttpEvent<CommonResult>>;
    static ɵfac: i0.ɵɵFactoryDeclaration<SimpleSensorService, [null, { optional: true; }, { optional: true; }]>;
    static ɵprov: i0.ɵɵInjectableDeclaration<SimpleSensorService>;
}
