input: 
  import numpy as np
  
  def generate_voltage_signal(freq: float, amplitude: float, noise_sd: float, duration: float, resolution: int) -> np.ndarray:
      """ Generate a voltage signal with random noise of specified frequency and amplitude.
      The signal is generated for a given duration and resolution.
      >>> generate_voltage_signal(250, 1, 0.1, 1, 1000)
      array([ 0.89156693,  0.91234236,  0.88345678, ..., -0.91234567, -0.89123456, -1.09123456])
      """
      t = np.linspace(0, duration, resolution)
      voltage_signal = amplitude * np.sin(2 * np.pi * freq * t) + np.random.normal(0, noise_sd, resolution)
      return voltage_signal
  
output:     t = np.linspace(0, duration, resolution)
      voltage_signal = amplitude * np.sin(2 * np.pi * freq * t) + np.random.normal(0, noise_sd, resolution)
      return voltage_signal