/**
 * Wraps a promise with a timeout to prevent hanging operations.
 * The internal timer is always cleared once the race settles, preventing
 * ref'd timer handles from keeping the event loop alive after the operation completes.
 */
export declare const withTimeout: <T>(promise: Promise<T>, timeoutMs: number, operation: string) => Promise<T>;
//# sourceMappingURL=withTimeout.d.ts.map