/**
 * Wait for the specified number of milliseconds.
 *
 * Extracted to a separate module to enable clean test mocking
 * without fake timers.
 */
export function sleep(ms: number): Promise<void> {
  return new Promise<void>((resolve) => setTimeout(resolve, ms));
}
