export class ChannelState {
    constructor(platform: any, uniqueId: any);
    _db: {
        connect: () => any;
        withClient: (callback: any) => any;
        withTransaction: (callback: any) => any;
    };
    uniqueId: any;
    _cached: any;
    read(): any;
    write(value: any): any;
}
export class ChannelStateBinder extends Tp.Helpers.RefCounted {
    constructor(platform: any);
    _platform: any;
    _cached: {};
    uniqueId: any;
    _updateTimeout: NodeJS.Timeout | null;
    _state: ChannelState | null;
    init(uniqueId: any): void;
    get(name: any): any;
    set(name: any, value: any): void;
    durableSet(name: any, value: any): any;
    changed(): void;
    flushToDisk(): any;
}
import * as Tp from "thingpedia";
