/**
 *   Generated file. Do not edit
 */
import { TapResponse } from '@iotize/tap';
import { AvailablePowerSource } from './models';
import { DeviceCpuFrequencyOptions } from './models';
import { AbstractService, ServiceCallType } from '@iotize/tap';
export declare class DeviceService extends AbstractService {
    resources: {
        getManufacturer: ServiceCallType<void, string>;
        getFirmwareFlavor: ServiceCallType<void, string>;
        getSerialNumber: ServiceCallType<void, string>;
        getFirmwareVersion: ServiceCallType<void, string>;
        reboot: ServiceCallType<void, void>;
        factoryReset: ServiceCallType<void, void>;
        getAvailablePowerSource: ServiceCallType<void, AvailablePowerSource>;
        getPowerSourceVoltage: ServiceCallType<void, number>;
        getMemoryFree: ServiceCallType<void, number>; /**
         * Reboot Tap device
         *
         * LWM2M path: /3//4
         *
         * @tapVersion(">=1.0")
         * @return
         */
        getLastErrorCode: ServiceCallType<void, number>; /**
         *
         *
         * LWM2M path: /3//4
         *
         * @tapVersion(">=1.0")
         * @return call options
         */
        postLastErrorCode: ServiceCallType<number, void>;
        resetLastErrorCode: ServiceCallType<void, void>;
        getCurrentTime: ServiceCallType<void, number>;
        setCurrentTime: ServiceCallType<number, void>;
        putCurrentTime: ServiceCallType<number, void>;
        getJvmErrorCode: ServiceCallType<void, number>; /**
         * Get power source voltage
         *
         * LWM2M path: /3//7
         *
         * @tapVersion(">=1.0")
         * @return
         */
        setJvmErrorCode: ServiceCallType<number, void>;
        getInternalStatus: ServiceCallType<void, string>;
        getCommunicationUid: ServiceCallType<void, Uint8Array>;
        getTemperature: ServiceCallType<void, number>;
        getCpuFrequency: ServiceCallType<void, DeviceCpuFrequencyOptions>;
        setCpuFrequency: ServiceCallType<DeviceCpuFrequencyOptions, void>;
        activateStopMode: ServiceCallType<number, void>;
    };
    /**
     * Get manufacturer name
     *
     * LWM2M path: /3//0
     *
     * @tapVersion(">=1.0")
     * @return
     */
    getManufacturer(): Promise<TapResponse<string>>;
    /**
     *
     *
     * LWM2M path: /3//0
     *
     * @tapVersion(">=1.0")
     * @return call options
     */
    getManufacturerCall(): ServiceCallType;
    /**
     * Get device firmware flavor name
     *
     * LWM2M path: /3//1
     *
     * @tapVersion(">=1.0")
     * @return
     */
    getFirmwareFlavor(): Promise<TapResponse<string>>;
    /**
     *
     *
     * LWM2M path: /3//1
     *
     * @tapVersion(">=1.0")
     * @return call options
     */
    getFirmwareFlavorCall(): ServiceCallType;
    /**
     * Get device serial number
     *
     * LWM2M path: /3//2
     *
     * @tapVersion(">=1.0")
     * @return
     */
    getSerialNumber(): Promise<TapResponse<string>>;
    /**
     *
     *
     * LWM2M path: /3//2
     *
     * @tapVersion(">=1.0")
     * @return call options
     */
    getSerialNumberCall(): ServiceCallType;
    /**
     * Get device firmware version
     *
     * LWM2M path: /3//3
     *
     * @tapVersion(">=1.0")
     * @return
     */
    getFirmwareVersion(): Promise<TapResponse<string>>;
    /**
     *
     *
     * LWM2M path: /3//3
     *
     * @tapVersion(">=1.0")
     * @return call options
     */
    getFirmwareVersionCall(): ServiceCallType;
    /**
     * Reboot Tap device
     *
     * LWM2M path: /3//4
     *
     * @tapVersion(">=1.0")
     * @return
     */
    reboot(): Promise<TapResponse<void>>;
    /**
     *
     *
     * LWM2M path: /3//4
     *
     * @tapVersion(">=1.0")
     * @return call options
     */
    rebootCall(): ServiceCallType;
    /**
     * Factory reset
     *
     * LWM2M path: /3//5
     *
     * @tapVersion(">=1.0")
     * @return
     */
    factoryReset(): Promise<TapResponse<void>>;
    /**
     *
     *
     * LWM2M path: /3//5
     *
     * @tapVersion(">=1.0")
     * @return call options
     */
    factoryResetCall(): ServiceCallType;
    /**
     * Get available power sources
     *
     * LWM2M path: /3//6
     *
     * @tapVersion(">=1.0")
     * @return
     */
    getAvailablePowerSource(): Promise<TapResponse<AvailablePowerSource>>;
    /**
     *
     *
     * LWM2M path: /3//6
     *
     * @tapVersion(">=1.0")
     * @return call options
     */
    getAvailablePowerSourceCall(): ServiceCallType;
    /**
     * Get power source voltage
     *
     * LWM2M path: /3//7
     *
     * @tapVersion(">=1.0")
     * @return
     */
    getPowerSourceVoltage(): Promise<TapResponse<number>>;
    /**
     *
     *
     * LWM2M path: /3//7
     *
     * @tapVersion(">=1.0")
     * @return call options
     */
    getPowerSourceVoltageCall(): ServiceCallType;
    /**
     * Get device memory free
     *
     * LWM2M path: /3//10
     *
     * @tapVersion(">=1.0")
     * @return
     */
    getMemoryFree(): Promise<TapResponse<number>>;
    /**
     *
     *
     * LWM2M path: /3//10
     *
     * @tapVersion(">=1.0")
     * @return call options
     */
    getMemoryFreeCall(): ServiceCallType;
    /**
     * Get device last error code
     *
     * LWM2M path: /3//11
     *
     * @tapVersion(">=1.0")
     * @return
     */
    getLastErrorCode(): Promise<TapResponse<number>>;
    /**
     *
     *
     * LWM2M path: /3//11
     *
     * @tapVersion(">=1.0")
     * @return call options
     */
    getLastErrorCodeCall(): ServiceCallType;
    /**
     * Set device last error code
     *
     * LWM2M path: /3//11
     *
     * @tapVersion(">=1.0")
     * @param errorcode input
     * @return
     */
    postLastErrorCode(errorcode: number): Promise<TapResponse<void>>;
    /**
     *
     *
     * LWM2M path: /3//11
     *
     * @tapVersion(">=1.0")
     * @param errorcode input
     * @return call options
     */
    postLastErrorCodeCall(errorcode: number): ServiceCallType;
    /**
     * Reset device last error code
     *
     * LWM2M path: /3//12
     *
     * @tapVersion(">=1.0")
     * @return
     */
    resetLastErrorCode(): Promise<TapResponse<void>>;
    /**
     *
     *
     * LWM2M path: /3//12
     *
     * @tapVersion(">=1.0")
     * @return call options
     */
    resetLastErrorCodeCall(): ServiceCallType;
    /**
     * Get device current time
     *
     * LWM2M path: /3//13
     *
     * @tapVersion(">=1.0")
     * @return
     */
    getCurrentTime(): Promise<TapResponse<number>>;
    /**
     *
     *
     * LWM2M path: /3//13
     *
     * @tapVersion(">=1.0")
     * @return call options
     */
    getCurrentTimeCall(): ServiceCallType;
    /**
     * Set device current time
     *
     * LWM2M path: /3//13
     *
     * @tapVersion(">=1.0")
     * @param time input
     * @return
     */
    setCurrentTime(time: number): Promise<TapResponse<void>>;
    /**
     *
     *
     * LWM2M path: /3//13
     *
     * @tapVersion(">=1.0")
     * @param time input
     * @return call options
     */
    setCurrentTimeCall(time: number): ServiceCallType;
    /**
     * Put device current time (Will be removed in next major release version)
     *
     * LWM2M path: /3//13
     *
     * @tapVersion(">=1.0")
     * @param time input
     * @return
     */
    putCurrentTime(time: number): Promise<TapResponse<void>>;
    /**
     *
     *
     * LWM2M path: /3//13
     *
     * @tapVersion(">=1.0")
     * @param time input
     * @return call options
     */
    putCurrentTimeCall(time: number): ServiceCallType;
    /**
     * Get jvm error code
     *
     * LWM2M path: /3//14
     *
     * @tapVersion(">=1.0")
     * @return
     */
    getJvmErrorCode(): Promise<TapResponse<number>>;
    /**
     *
     *
     * LWM2M path: /3//14
     *
     * @tapVersion(">=1.0")
     * @return call options
     */
    getJvmErrorCodeCall(): ServiceCallType;
    /**
     * Set jvm error code
     *
     * LWM2M path: /3//14
     *
     * @tapVersion(">=1.0")
     * @param code input
     * @return
     */
    setJvmErrorCode(code: number): Promise<TapResponse<void>>;
    /**
     *
     *
     * LWM2M path: /3//14
     *
     * @tapVersion(">=1.0")
     * @param code input
     * @return call options
     */
    setJvmErrorCodeCall(code: number): ServiceCallType;
    /**
     * Get device internal status
     *
     * LWM2M path: /3//15
     *
     * @tapVersion(">=2.11")
     * @return
     */
    getInternalStatus(): Promise<TapResponse<string>>;
    /**
     *
     *
     * LWM2M path: /3//15
     *
     * @tapVersion(">=2.11")
     * @return call options
     */
    getInternalStatusCall(): ServiceCallType;
    /**
     * Get device com UID
     *
     * LWM2M path: /3//16
     *
     * @tapVersion(">=2.29")
     * @return
     */
    getCommunicationUid(): Promise<TapResponse<Uint8Array>>;
    /**
     *
     *
     * LWM2M path: /3//16
     *
     * @tapVersion(">=2.29")
     * @return call options
     */
    getCommunicationUidCall(): ServiceCallType;
    /**
     * Get device temperature
     *
     * LWM2M path: /3//17
     *
     * @tapVersion(">=2.37")
     * @return
     */
    getTemperature(): Promise<TapResponse<number>>;
    /**
     *
     *
     * LWM2M path: /3//17
     *
     * @tapVersion(">=2.37")
     * @return call options
     */
    getTemperatureCall(): ServiceCallType;
    /**
     * Get current CPU frequency
     *
     * LWM2M path: /3//141
     *
     * @tapVersion(">=2.37")
     * @return
     */
    getCpuFrequency(): Promise<TapResponse<DeviceCpuFrequencyOptions>>;
    /**
     *
     *
     * LWM2M path: /3//141
     *
     * @tapVersion(">=2.37")
     * @return call options
     */
    getCpuFrequencyCall(): ServiceCallType;
    /**
     * Set current CPU frequency
     *
     * LWM2M path: /3//141
     *
     * @tapVersion(">=2.37")
     * @param mode input
     * @return
     */
    setCpuFrequency(mode: DeviceCpuFrequencyOptions): Promise<TapResponse<void>>;
    /**
     *
     *
     * LWM2M path: /3//141
     *
     * @tapVersion(">=2.37")
     * @param mode input
     * @return call options
     */
    setCpuFrequencyCall(mode: DeviceCpuFrequencyOptions): ServiceCallType;
    /**
     * Activate stop mode
     *
     * LWM2M path: /3//142
     *
     * @tapVersion(">=2.37")
     * @param duration input
     * @return
     */
    activateStopMode(duration: number): Promise<TapResponse<void>>;
    /**
     *
     *
     * LWM2M path: /3//142
     *
     * @tapVersion(">=2.37")
     * @param duration input
     * @return call options
     */
    activateStopModeCall(duration: number): ServiceCallType;
}
