input: from typing import List
  
  def list_directory_contents(directory: str) -> List[str]:
      """ Lists the contents of a given directory.
      >>> list_directory_contents('.')
      ['file1.txt', 'file2.txt', 'folder1', 'folder2']
      >>> list_directory_contents('/path/to/directory')
      ['another_file.txt', 'subfolder']
      """
      import os
      return os.listdir(directory)
output:     import os
      return os.listdir(directory)