import { Builder , Component , builder } from '@builder.io/sdk' ; export function restrictedRegister ( component , options , models ) { if ( ! Builder . isEditing || models . includes ( builder . editingModel ! ) ) { return Builder . registerComponent ( component , options ) ; } }