Result of checking whether a transport-specific runtime is available.
API
export type DetectionResult =
| {
ok: true;
}
| {
ok: false;
code:
"FEATURE_UNSUPPORTED" | "PLATFORM_UNSUPPORTED" | "MODEL_UNAVAILABLE";
reason?: string;
};