import { Lambda } from "../internal"; export type IInterceptor = (change: T) => T | null; export interface IInterceptable { interceptors_: IInterceptor[] | undefined; } export declare function hasInterceptors(interceptable: IInterceptable): boolean; export declare function registerInterceptor(interceptable: IInterceptable, handler: IInterceptor): Lambda; export declare function interceptChange(interceptable: IInterceptable, change: T | null): T | null;