# Copyright (c) 2026 Chris Pressey, Cat's Eye Technologies
# This file is distributed under an MIT license. See LICENSES/ directory.
# SPDX-License-Identifier: LicenseRef-MIT-X-Feedmark
from typing import Collection, Iterator, Mapping, TypeVar
K = TypeVar("K")
V = TypeVar("V")
def items_in_priority_order(
di: Mapping[K, V], priority: Collection[K]
) -> Iterator[tuple[K, V]]: ...