def from_sources(
sources: (
collections.abc.Iterable[simple_config.source._Base]
| simple_config.source._Base
),
receivers: (
collections.abc.Iterable[simple_config.receiver._Base]
| simple_config.receiver._Base
| None
) = None,
receiver_channels: (
collections.abc.Iterable[ReceiverChannel] | ReceiverChannel | None
) = None,
event_name_starting_index: int = 0,
event_name_prefix: str = "event",
) -> EventCollection: ...