import { ServiceCallType, Tap } from '@iotize/tap';
import { EditableDataStreamInterface } from './api/data-source-provider-interface';
interface LwM2MEditableDataStreamConfig {
    readCallFactory(): ServiceCallType<Uint8Array>;
    writeCallFactory(data: Uint8Array): ServiceCallType<void>;
}
export declare class LwM2MEditableDataStream implements EditableDataStreamInterface<Uint8Array> {
    private tap;
    private config;
    private _values;
    /**
     * Values observable
     */
    values: import("rxjs").Observable<Uint8Array>;
    constructor(tap: Tap, config: LwM2MEditableDataStreamConfig);
    /**
     * Read value.
     * It may also trigger a value changed event
     */
    read(): Promise<Uint8Array>;
    /**
     * Write given value
     * @param value
     */
    write(value: Uint8Array): Promise<any>;
}
export {};
