/*! * Copyright (c) 2020 Ville de Montreal. All rights reserved. * Licensed under the MIT license. * See LICENSE file in the project root for full license information. */ import { ITimeProvider } from './ITimeProvider'; /** fake implementation of the time provider to allow unit tests */ export declare class FakeTimeProvider implements ITimeProvider { private now; constructor(now: Date); /** returns the current time */ getNow(): Date; /** change the current time by applying an offset * @param seconds offset in seconds to add to current time */ offsetBy(seconds: number): void; }