import { Locatable } from "./location" ; import { Action } from "./types" ; import { Visit } from "./visit" ; export interface Adapter { visitProposedToLocationWithAction ( location , action ) : void ; visitStarted ( visit ) : void ; visitCompleted ( visit ) : void ; visitFailed ( visit ) : void ; visitRequestStarted ( visit ) : void ; visitRequestProgressed ? ( visit ) : void ; visitRequestCompleted ( visit ) : void ; visitRequestFailedWithStatusCode ( visit , statusCode ) : void ; visitRequestFinished ( visit ) : void ; visitRendered ( visit ) : void ; pageInvalidated ( ) : void ; }