export type Mockable = Record; type SpyOn = (obj: Mockable, method: keyof typeof obj) => any; export declare const createMock: (obj: T, methods: K[], spyOn: SpyOn, callsFactory?: MockInfo["callsFactory"]) => { [P in K]: any; }; type MockInfo = { mock: Mockable; mocked: Mockable; callsFactory?: (methodName: string) => (...args: any[]) => any; activeMethods: Set; }; export declare const couldNotInitError: (additional: string) => Error; export {};