/** * 设置积木报表的链接url 如果不设置 则采用自动获取的 * @param url 设置报表的 url 协议 `eg: https://www.baidu.com` * @param path path 路径 默认为 `/jmreport/view/` */ export declare const setBaseUrl: (url: string, path?: string) => false | undefined; /** * 获取 积木报表预览页面的 url * @param templateId 积木报表的模板id * @param params 拼接在积木报表后面的url参数 * @returns Promise * @example getUrl('123456', {id: 1}).then(url => console.log(url)) // www.jimu.com/preview/123456?id=1 */ export declare function getUrl(templateId: string, params?: { [key: string]: string; }): Promise; //# sourceMappingURL=getUrl.d.ts.map