/** @deprecated */ export declare function when(time: number, value: T): Promise;