import { useDialog, useLoadingBar, useMessage, useNotification } from 'naive-ui';
import type { Ref } from 'vue';

declare global {
  interface Window {
    $dialog: ReturnType<typeof useDialog>;
    $loadingBar: ReturnType<typeof useLoadingBar>;
    $message: ReturnType<typeof useMessage>;
    $notification: ReturnType<typeof useNotification>;
    $mockUser: Ref<boolean>;
  }
}
