def METHOD_NAME(
    kind: Literal["per-store-feature"],
    *args,
    **kwargs,
) -> "FeatureExtractor":
    """Create a CostModel."""
    from . import PerStoreFeature  # pylint: disable=import-outside-toplevel
    if kind == "per-store-feature":
        return PerStoreFeature(*args, **kwargs)  # type: ignore
    raise ValueError(f"Unknown CostModel: {kind}")