Adds isObjectRecord, isUnknownArray, isChildProcessWithStreams, and isImageMimeType type predicates to eliminate all no-unsafe-type-assertion violations surfaced by typeAware lint mode. Fixes floating promise, adds throw after exhaustive switch, and widens readCompactionMetadata to accept unknown so callers need no casts.