from typing import Dict
from typing import Any
from typing import List
from typing import Tuple


def dict_to_map(d: Dict[Any, Any]) -> List[Tuple[List[Any], Any]]:
    """
    Converts a dictionary into a structure usable by :func:`map_value`.
    """
    return [
        ([k], v)
        for k, v in d.items()
    ]