/**
 * 判断一个 URL 路径是否是相对路径或者同域名
 * @param url
 * @returns
 */
export declare const isRelativeOrSameDomain: (url: string) => boolean;
/**
 * 自动拼接上showLayout=false参数
 * @param url
 * @returns
 */
export declare const setShowLayout: (url: string) => any;
export declare const setShowWatermark: (url: string) => string;
/**
 * url携带token
 * @param url
 * @returns
 */
export declare const withToken: (url: string) => string;
