/**
 * 以 Promise 的方式加载 js 文件
 * @param {string}  url  js文件路径
 * @returns {Promise<number>} promise
 * @example
 * ```ts
 * await loadJS('https://example.com/lib.js');
 * console.log('loaded');
 * ```
 */
export declare function loadJS(url: string): Promise<unknown>;
/**
 * 动态加载CSS
 * @param {string} url CSS链接
 * @example
 *
 * loadCSS('xxx.css')
 */
export declare function loadCSS(url: string): void;
