export function usePublicBookingLookup() {
  const config = useRuntimeConfig()

  async function lookupBooking(payload) {
    const response = await $fetch(`${config.public.apiBaseUrl}/public-booking/lookup`, {
      method: 'POST',
      body: payload,
    })

    return response?.data || {}
  }

  return {
    lookupBooking,
  }
}
