export declare function spy

, R>(closure: (...p: P) => R): Spyer; export declare class Spyer

, R> { readonly closure: (...p: P) => R; constructor(closure: (...p: P) => R); readonly calls: Call[]; call(...params: P): R; } export declare class Call

, R> { readonly params: P; readonly result: R; readonly time: Date; constructor(params: P, result: R, time?: Date); }