import { Lambda } from "../utils/utils"; export interface IListenable { changeListeners: Function[] | null; observe(handler: (change: any, oldValue?: any) => void, fireImmediately?: boolean): Lambda; } export declare function hasListeners(listenable: IListenable): boolean | null; export declare function registerListener(listenable: IListenable, handler: Function): Lambda; export declare function notifyListeners(listenable: IListenable, change: T): void;