import { Expectation , ReturnValue } from '../expectation' ; import { Property } from '../../proxy' ; export type Call = { arguments : any [ ] | undefined ; } ; example export type CallMap = Map < Property , Call [ ] > ; export type CallStats = { /**
     * Calls that matched existing expectations.
     */ expected : CallMap ; /**
     * Calls that didn't match any existing expectation.
     */ unexpected : CallMap ; } ; export interface ExpectationRepository { add ( expectation ) : void ; example example example get ( property ) : ReturnValue ; example getAllProperties ( ) : Property [ ] ; /**
     * Remove any expectations and clear the call stats.
     */ clear ( ) : void ; /**
     * Return all unmet expectations.
     */ getUnmet ( ) : Expectation [ ] ; /**
     * Return all the calls that have been made so far.
     */ getCallStats ( ) : CallStats ; }