export interface Access<T> {
    get(): T;
    set(x: T): void;
}
export declare namespace Access {
    interface Read<T> {
        get(): T;
    }
    interface Write<T> {
        set(x: T): void;
    }
}
export declare class State<T> implements Access<T> {
    private value;
    constructor(value: T);
    get(): T;
    set(x: T): void;
}
//# sourceMappingURL=index.d.ts.map