interface Window {
    $loadingBar?: import('naive-ui').LoadingBarProviderInst
    $dialog?: import('naive-ui').DialogProviderInst
    $message?: import('naive-ui').MessageProviderInst
    $notification?: import('naive-ui').NotificationProviderInst
    NoCaptcha?: any
    nc?: any
}
declare module 'resolve-url'
declare module 'eruda'

declare namespace wx {
    function addCard(a: any): any
    function checkJsApi(a: any): any
    function chooseCard(a: any): any
    function chooseImage(a: any): any
    function chooseWXPay(a: any): void
    function closeWindow(a: any): void
    function config(a: any): any
    function downloadImage(a: any): void
    function downloadVoice(a: any): void
    function error(a: any): void
    function getLocation(a: any): any
    function getNetworkType(a: any): any
    function hideAllNonBaseMenuItem(a: any): void
    function hideMenuItems(a: any): void
    function hideOptionMenu(a: any): void
    function updateAppMessageShareData(a: any): void
    function onMenuShareQQ(a: any): void
    function onMenuShareQZone(a: any): void
    function updateTimelineShareData(a: any): void
    function onMenuShareWeibo(a: any): void
    function onVoicePlayEnd(a: any): void
    function onVoiceRecordEnd(a: any): void
    function openCard(a: any): void
    function openLocation(a: any): void
    function openProductSpecificView(a: any): void
    function pauseVoice(a: any): void
    function playVoice(a: any): void
    function previewImage(a: any): void
    function ready(a: any): void
    function scanQRCode(a: any): any
    function showAllNonBaseMenuItem(a: any): void
    function showMenuItems(a: any): void
    function showOptionMenu(a: any): void
    function startRecord(a: any): void
    function stopRecord(a: any): void
    function stopVoice(a: any): void
    function translateVoice(a: any): void
    function uploadImage(a: any): void
    function uploadVoice(a: any): void
}
