input: from typing import List
  
  def list_directory_contents(path: str) -> List[str]:
      """ List the contents of a specified directory.
      >>> list_directory_contents('/home/user')
      ['file1.txt', 'file2.txt', 'folder1']
      >>> list_directory_contents('/tmp')
      ['temp1', 'temp2', 'tmpfile']
      """
      import os
      return os.listdir(path)
output:     import os
      return os.listdir(path)