import { IActivatable } from './IActivatable'; import { ICancellation } from '../ICancellation'; import { EmptyCancellation } from '../EmptyCancellation'; export interface IActivationController { activating(component: IActivatable, ct?: ICancellation): Promise; activated(component: IActivatable, ct?: ICancellation): Promise; deactivating(component: IActivatable, ct?: ICancellation): Promise; deactivated(component: IActivatable, ct?: ICancellation): Promise; deactivate(ct?: ICancellation): Promise; activate(component: IActivatable, ct?: ICancellation): Promise; getActive(): IActivatable; }