import { dialog as _dialog , Dialogic } from "dialogic" ; import { getCount , isPaused , exists } from "./store" ; export const dialog = { ... _dialog , getCount : ( identityOptions ? ) => getCount ( _dialog . ns ) ( identityOptions ) as unknown as number , isPaused : ( identityOptions ? ) => isPaused ( _dialog . ns ) ( _dialog . defaultDialogicOptions ) ( identityOptions ) as unknown as boolean , exists : ( identityOptions ? ) => exists ( _dialog . ns ) ( _dialog . defaultDialogicOptions ) ( identityOptions ) as unknown as boolean , } ;