export type MockResult = {
    clear: () => void;
};
/**
 *
 * @param modulePath - the path starting from this files' path.
 * @param renderMocks - function to generate mocks (by their named or default exports)
 * @returns an object
 */
export declare function mockModule(modulePath: string, renderMocks: () => Record<string, any>): Promise<MockResult>;
export declare const clearMockedModules: () => void;
