/**
 * Resolve `promise`, or **reject** if it doesn't settle within `ms`. Rejecting
 * (rather than resolving to a fallback) lets restore tell a genuine timeout apart
 * from a clean "nothing stored" result, so it can surface a notice for the former
 * and stay silent for the latter. Because the loser of the race is abandoned, a
 * late-resolving `load()` is discarded and can never clobber a now-live session;
 * a late *rejection* is swallowed so it doesn't surface as an unhandled rejection.
 *
 * @internal
 */
export declare function withTimeout<T>(promise: Promise<T>, ms: number): Promise<T>;
//# sourceMappingURL=with-timeout.d.ts.map