export function pubsub<T>(src: Channel<T>, fn: TopicFn<T>): PubSub<T>;