renovate
Version:
Automated dependency updates. Flexible so you don't need to be.
9 lines (8 loc) • 404 B
TypeScript
import type { DurationLikeObject } from 'luxon';
import { DateTime } from 'luxon';
export declare function prepareQuery(payloadQuery: string): string;
/**
* Tells whether the time `duration` is expired starting
* from the `date` (ISO date format) at the moment of `now`.
*/
export declare function isDateExpired(currentTime: DateTime, initialTimestamp: string, duration: DurationLikeObject): boolean;