type FunctionLike = (...args: any[]) => any; interface MockInstance { getCalledTimes: () => number; getCalled: () => boolean; } interface Mock extends Function, MockInstance { (...args: Parameters): ReturnType; } /** * A super simple mock for functions. * * Use this instead of `jest.fn` in public API, because some users may not using * Jest environment. */ export declare function simpleMockFn(implementation: T): Mock; export {};