/**
 *   Generated file. Do not edit
 */
import { TapResponse } from '@iotize/tap';
import { ReadSelectedFileParams } from './models';
import { AbstractService, ServiceCallType } from '@iotize/tap';
export declare class FileSystemService extends AbstractService {
    resources: {
        selectFile: ServiceCallType<string, void>;
        unselectFile: ServiceCallType<void, void>;
        writeSelectedFile: ServiceCallType<Uint8Array, void>;
        setSelectedFileBundleId: ServiceCallType<number, void>;
        setSelectedFileUserId: ServiceCallType<number, void>;
        readSelectedFile: ServiceCallType<ReadSelectedFileParams, Uint8Array>;
        deleteSelectedFile: ServiceCallType<void, void>;
        clearAllFiles: ServiceCallType<void, void>;
        getSelectedFileSize: ServiceCallType<void, number>;
        listFiles: ServiceCallType<void, void>;
    };
    /**
     * select file
     *
     * LWM2M path: /1032//1
     *
     * @tapVersion(">=2.13")
     * @param fileName input
     * @return
     */
    selectFile(fileName: string): Promise<TapResponse<void>>;
    /**
     *
     *
     * LWM2M path: /1032//1
     *
     * @tapVersion(">=2.13")
     * @param fileName input
     * @return call options
     */
    selectFileCall(fileName: string): ServiceCallType;
    /**
     * unselect file
     *
     * LWM2M path: /1032//2
     *
     * @tapVersion(">=2.13")
     * @return
     */
    unselectFile(): Promise<TapResponse<void>>;
    /**
     *
     *
     * LWM2M path: /1032//2
     *
     * @tapVersion(">=2.13")
     * @return call options
     */
    unselectFileCall(): ServiceCallType;
    /**
     * write data to file
     *
     * LWM2M path: /1032//3
     *
     * @tapVersion(">=2.13")
     * @param data input
     * @return
     */
    writeSelectedFile(data: Uint8Array): Promise<TapResponse<void>>;
    /**
     *
     *
     * LWM2M path: /1032//3
     *
     * @tapVersion(">=2.13")
     * @param data input
     * @return call options
     */
    writeSelectedFileCall(data: Uint8Array): ServiceCallType;
    /**
     * write bundle id to file
     *
     * LWM2M path: /1032//10
     *
     * @tapVersion(">=2.13")
     * @param bundleId input
     * @return
     */
    setSelectedFileBundleId(bundleId: number): Promise<TapResponse<void>>;
    /**
     *
     *
     * LWM2M path: /1032//10
     *
     * @tapVersion(">=2.13")
     * @param bundleId input
     * @return call options
     */
    setSelectedFileBundleIdCall(bundleId: number): ServiceCallType;
    /**
     * write user id to file
     *
     * LWM2M path: /1032//11
     *
     * @tapVersion(">=2.13")
     * @param userId input
     * @return
     */
    setSelectedFileUserId(userId: number): Promise<TapResponse<void>>;
    /**
     *
     *
     * LWM2M path: /1032//11
     *
     * @tapVersion(">=2.13")
     * @param userId input
     * @return call options
     */
    setSelectedFileUserIdCall(userId: number): ServiceCallType;
    /**
     * read data from the selected file
     *
     * LWM2M path: /1032//4
     *
     * @tapVersion(">=2.13")
     * @param options input
     * @return
     */
    readSelectedFile(options: ReadSelectedFileParams): Promise<TapResponse<Uint8Array>>;
    /**
     *
     *
     * LWM2M path: /1032//4
     *
     * @tapVersion(">=2.13")
     * @param options input
     * @return call options
     */
    readSelectedFileCall(options: ReadSelectedFileParams): ServiceCallType;
    /**
     * delete file
     *
     * LWM2M path: /1032//6
     *
     * @tapVersion(">=2.13")
     * @return
     */
    deleteSelectedFile(): Promise<TapResponse<void>>;
    /**
     *
     *
     * LWM2M path: /1032//6
     *
     * @tapVersion(">=2.13")
     * @return call options
     */
    deleteSelectedFileCall(): ServiceCallType;
    /**
     * clear all files
     *
     * LWM2M path: /1032//7
     *
     * @tapVersion(">=2.13")
     * @return
     */
    clearAllFiles(): Promise<TapResponse<void>>;
    /**
     *
     *
     * LWM2M path: /1032//7
     *
     * @tapVersion(">=2.13")
     * @return call options
     */
    clearAllFilesCall(): ServiceCallType;
    /**
     * get size of the selected file
     *
     * LWM2M path: /1032//5
     *
     * @tapVersion(">=2.13")
     * @return
     */
    getSelectedFileSize(): Promise<TapResponse<number>>;
    /**
     *
     *
     * LWM2M path: /1032//5
     *
     * @tapVersion(">=2.13")
     * @return call options
     */
    getSelectedFileSizeCall(): ServiceCallType;
    /**
     * list files
     *
     * LWM2M path: /1032//9
     *
     * @tapVersion(">=2.13")
     * @return
     */
    listFiles(): Promise<TapResponse<void>>;
    /**
     *
     *
     * LWM2M path: /1032//9
     *
     * @tapVersion(">=2.13")
     * @return call options
     */
    listFilesCall(): ServiceCallType;
}
