export default function query2url(query: { [key: string]: string | number | boolean; }, url?: string): string;