/**
 *   Generated file. Do not edit
 */
import { TapResponse } from '@iotize/tap';
import { FirmwareState } from './models';
import { FirmwareUpdateResult } from './models';
import { CrcCheckBody } from './models';
import { AbstractService, ServiceCallType } from '@iotize/tap';
export declare class FirmwareService extends AbstractService {
    resources: {
        postPackage: ServiceCallType<void, void>;
        postUpdate: ServiceCallType<void, void>;
        getState: ServiceCallType<void, FirmwareState>;
        getUpdateResult: ServiceCallType<void, FirmwareUpdateResult>;
        postCrcCheck: ServiceCallType<CrcCheckBody, void>;
    };
    /**
     * Firmware update data
     *
     * LWM2M path: /5//0
     *
     * @tapVersion(">=1.0")
     * @return
     */
    postPackage(): Promise<TapResponse<void>>;
    /**
     *
     *
     * LWM2M path: /5//0
     *
     * @tapVersion(">=1.0")
     * @return call options
     */
    postPackageCall(): ServiceCallType;
    /**
     * firmware Update mode
     *
     * LWM2M path: /5//2
     *
     * @tapVersion(">=1.0")
     * @return
     */
    postUpdate(): Promise<TapResponse<void>>;
    /**
     *
     *
     * LWM2M path: /5//2
     *
     * @tapVersion(">=1.0")
     * @return call options
     */
    postUpdateCall(): ServiceCallType;
    /**
     * Get state
     *
     * LWM2M path: /5//3
     *
     * @tapVersion(">=1.0")
     * @return
     */
    getState(): Promise<TapResponse<FirmwareState>>;
    /**
     *
     *
     * LWM2M path: /5//3
     *
     * @tapVersion(">=1.0")
     * @return call options
     */
    getStateCall(): ServiceCallType;
    /**
     * Get firmware update result
     *
     * LWM2M path: /5//5
     *
     * @tapVersion(">=1.0")
     * @return
     */
    getUpdateResult(): Promise<TapResponse<FirmwareUpdateResult>>;
    /**
     *
     *
     * LWM2M path: /5//5
     *
     * @tapVersion(">=1.0")
     * @return call options
     */
    getUpdateResultCall(): ServiceCallType;
    /**
     * Check CRC
     *
     * LWM2M path: /5//6
     *
     * @tapVersion(">=1.0")
     * @param data input
     * @return
     */
    postCrcCheck(data: CrcCheckBody): Promise<TapResponse<void>>;
    /**
     *
     *
     * LWM2M path: /5//6
     *
     * @tapVersion(">=1.0")
     * @param data input
     * @return call options
     */
    postCrcCheckCall(data: CrcCheckBody): ServiceCallType;
}
