// First, rename the CommonJS file to .cjs import { createRequire } from 'module'; const require = createRequire(import.meta.url); // Require the CommonJS module const nativeBindings = require('../../../index.cjs'); export const { getChurchName, fetchEventsJson, fetchFeaturedEventsJson, fetchSermonsJson, fetchLivestreamArchiveJson, fetchConfigJson, getMissionStatement, fetchRandomBibleVerseJson, getStreamLiveStatus, getLivestreamUrl, getChurchAddress, getChurchPhysicalAddress, getChurchPoBox, getContactPhone, getContactEmail, getFacebookUrl, getYoutubeUrl, getInstagramUrl, submitContactV2Json, validateContactFormJson, fetchBulletinsJson, fetchCurrentBulletinJson, fetchBibleVerseJson, submitEventJson, submitEventWithImageJson, // Admin functions fetchAllSchedulesJson, createScheduleJson, updateScheduleJson, deleteScheduleJson, // Admin auth adminLoginJson, validateAdminTokenJson, // Admin events fetchPendingEventsJson, approvePendingEventJson, rejectPendingEventJson, deletePendingEventJson, updateAdminEventJson, deleteAdminEventJson, // Admin bulletins createBulletinJson, updateBulletinJson, deleteBulletinJson } = nativeBindings;