import type { Talk } from '../types/talk' import { inject } from 'vue' interface UseInaliaStatus { /** Whether Inalia has a configured, loaded talk (rather than static mode). */ isLive: boolean } export function useInaliaStatus(): UseInaliaStatus { const talk = inject('talk', null) const isLive = talk !== null return { isLive, } }