input: 
  from typing import List
  import os
  
  def list_directory_contents(directory_path: str) -> List[str]:
      """ List the contents of the given directory.
      >>> list_directory_contents('.')
      ['file1.txt', 'file2.txt', 'folder1', 'folder2']
      >>> list_directory_contents('/home/user/documents')
      ['report1.docx', 'report2.docx', 'project1', 'project2']
      """
      return os.listdir(directory_path)
  
output:     if not os.path.isdir(directory_path):
          raise ValueError("The provided path is not a directory.")