import {List} from 'angular2/src/facade/collection'; import {Locals} from './parser/locals'; import {AST} from './parser/ast'; import {DEFAULT} from './constants'; export class ProtoChangeDetector { addAst(ast:AST, bindingMemento:any, directiveMemento:any = null){} instantiate(dispatcher:any, bindingRecords:List, variableBindings:List, directiveMementos:List):ChangeDetector{ return null; } } export class ChangeDetection { createProtoChangeDetector(name:string, changeControlStrategy:string=DEFAULT):ProtoChangeDetector{ return null; } } export class ChangeDispatcher { invokeMementoFor(memento:any, value) {} } export class ChangeDetector { parent:ChangeDetector; mode:string; addChild(cd:ChangeDetector) {} addShadowDomChild(cd:ChangeDetector) {} removeChild(cd:ChangeDetector) {} remove() {} hydrate(context:any, locals:Locals, directives:any) {} dehydrate() {} markPathToRootAsCheckOnce() {} detectChanges() {} checkNoChanges() {} }