export declare function queryString(options: Record<string, string | number>, needEncode?: boolean): string;
export declare function routeChangePath(url: string, options: Record<string, string | number>): string;
/**
 * 获取当前路由部分的 url
 * @return {string}
 * @example
 * ```ts
 * // 在当前页面中调用
 * getRoutePartUrl();
 * // 'pages/home/home?from=index'
 * ```
 */
export declare function getRoutePartUrl(): string;
/**
 * 小程序中，获取页面对应的 url 链接
 * @param {string} baseLink 基础 URL
 * @return {string}
 * @example
 * ```ts
 * // 在当前页面中调用
 * getUrlInMP('https://example.com');
 * // 'https://example.com/pages/home/home?from=index'
 * ```
 */
export declare function getUrlInMP(baseLink: string): string;
