import sinon from "sinon"; /** * Extend the Mocha Context object to type the `clock` property. */ declare module "mocha" { interface Context { clock: sinon.SinonFakeTimers; } } /** * Initializes fake timers on the Mocha context. * * @param this The mocha context. */ export declare function setUpFakeTimers(this: Mocha.Context): void; /** * Restores the real timers and reset the fake timers on the context. * * @param this The mocha context. */ export declare function tearDownFakeTimers(this: Mocha.Context): void; /** * Registers `beforeEach` and `afterEach` hooks within a mocha BDD suite to automalically * set up and tear down fake timers. * * The fake timers are available on the Mocha context as `this.clock`. */ export declare function injectFakeTimersFixtures(): void;