import { Lambda } from "../utils/utils"; import { IObservableArray } from "../types/observablearray"; import { ObservableMap } from "../types/observablemap"; import { IObservableValue } from "../types/observablevalue"; export declare type ReadInterceptor = (value: any) => T; /** Experimental feature right now, tested indirectly via Mobx-State-Tree */ export declare function interceptReads(value: IObservableValue, handler: ReadInterceptor): Lambda; export declare function interceptReads(observableArray: IObservableArray, handler: ReadInterceptor): Lambda; export declare function interceptReads(observableMap: ObservableMap, handler: ReadInterceptor): Lambda; export declare function interceptReads(object: Object, property: string, handler: ReadInterceptor): Lambda;