import { TemporalUnit } from './temporal-unit'; import { AtLeast } from './perseverers/at-least'; import { TemporalBinding } from './perseverers/temporal-binding'; export declare class Persevere { /** * Configure to persevere for at most the given amount of time. * * @param value the numeric value to wait * @param unit the temporal unit that the value denotes * @return TemporalBinding a temporally bound class ready for further configuration */ atMost(value: number, unit: TemporalUnit): TemporalBinding; /** * Configure to persevere for at least the given amount of time, must also be configured with an upper bound through a subsequent call to `.andAtMost()`. * * @param value the numeric value to wait * @param unit the temporal unit that the value denotes * @return TemporalBinding a temporally bound class ready for further configuration */ atLeast(value: number, unit: TemporalUnit): AtLeast; }