InferNoValueCollectorType: T extends "ReadOnlyCollector"
    ? ReadOnlyCollector
    : T extends "RichTextCollector"
        ? RichTextCollector
        : T extends "QrCodeCollector"
            ? QrCodeCollector
            : T extends "ImageCollector"
                ? ImageCollector
                : NoValueCollectorBase<"NoValueCollector">

Type to help infer the collector based on the collector type Used specifically in the returnNoValueCollector wrapper function. When given a type, it can narrow which type it is returning

Note: You can see this type in action in the test file or in the collector.utils file.

Type Parameters