/**
 *   Generated file. Do not edit
 */
import { TapResponse } from '@iotize/tap';
import { AbstractService, ServiceCallType } from '@iotize/tap';
export declare class JvmService extends AbstractService {
    resources: {
        getCodeSize: ServiceCallType<void, number>;
        putCodeSize: ServiceCallType<number, void>;
        clearCode: ServiceCallType<void, void>;
        appendCode: ServiceCallType<Uint8Array, void>;
        getProfileId: ServiceCallType<void, number>;
        putProfileId: ServiceCallType<number, void>;
    };
    /**
     * Get JVM reserved code size
     *
     * LWM2M path: /1024//73
     *
     * @tapVersion(">=1.90")
     * @return
     */
    getCodeSize(): Promise<TapResponse<number>>;
    /**
     *
     *
     * LWM2M path: /1024//73
     *
     * @tapVersion(">=1.90")
     * @return call options
     */
    getCodeSizeCall(): ServiceCallType;
    /**
     * Write JVM reserved code size
     *
     * LWM2M path: /1024//73
     *
     * @tapVersion(">=1.90")
     * @param value input
     * @return
     */
    putCodeSize(value: number): Promise<TapResponse<void>>;
    /**
     *
     *
     * LWM2M path: /1024//73
     *
     * @tapVersion(">=1.90")
     * @param value input
     * @return call options
     */
    putCodeSizeCall(value: number): ServiceCallType;
    /**
     * Clear code stored in Tap.
     *
     * LWM2M path: /1024//74
     *
     * @tapVersion(">=1.90")
     * @return
     */
    clearCode(): Promise<TapResponse<void>>;
    /**
     *
     *
     * LWM2M path: /1024//74
     *
     * @tapVersion(">=1.90")
     * @return call options
     */
    clearCodeCall(): ServiceCallType;
    /**
     * Append JVM code. If body length is 0, it will clear code stored in Tap.
     *
     * LWM2M path: /1024//74
     *
     * @tapVersion(">=1.90")
     * @param value input
     * @return
     */
    appendCode(value: Uint8Array): Promise<TapResponse<void>>;
    appendCodeAppendCalls(value: Uint8Array, chunkSize?: number): ServiceCallType<Uint8Array, void>[];
    /**
     *
     *
     * LWM2M path: /1024//74
     *
     * @tapVersion(">=1.90")
     * @param value input
     * @return call options
     */
    appendCodeCall(value: Uint8Array): ServiceCallType;
    /**
     * Get user id that gives rights to the JVM code
     *
     * LWM2M path: /1024//66
     *
     * @tapVersion(">=")
     * @return
     */
    getProfileId(): Promise<TapResponse<number>>;
    /**
     *
     *
     * LWM2M path: /1024//66
     *
     * @tapVersion(">=")
     * @return call options
     */
    getProfileIdCall(): ServiceCallType;
    /**
     * Write user id that gives right to the JVM code
     *
     * LWM2M path: /1024//66
     *
     * @tapVersion(">=")
     * @param key input
     * @return
     */
    putProfileId(key: number): Promise<TapResponse<void>>;
    /**
     *
     *
     * LWM2M path: /1024//66
     *
     * @tapVersion(">=")
     * @param key input
     * @return call options
     */
    putProfileIdCall(key: number): ServiceCallType;
}
