'use strict'; import type { Shareable } from './types'; export function isShareable< TValue = unknown, THostDecorated = unknown, TGuestDecorated = unknown, >(value: unknown): value is Shareable { 'worklet'; return ( typeof value === 'object' && value !== null && !!(value as Record).__shareableRef ); }