import type { V3 } from "../../lib/v3/v3.js";
/**
 * Races a promise against a timeout.
 * Resolves to the promise value or "timeout" if the deadline expires.
 */
export declare function raceTimeout<T>(promise: Promise<T>, ms: number): Promise<T | "timeout">;
export declare function closeV3(v3?: V3 | null): Promise<void>;
