/** * URL参数解析模块. * * 负责将URL查询字符串解析为键值对格式, * 用于从URL参数中读取配置。 * * @example * // 使用示例 * const urlParams = split('?apiUrl=https://api.example.com&timeout=5000'); * // 返回 { apiurl: 'https://api.example.com', timeout: '5000' } * * @packageDocumentation * @author yusangeng@outlook.com */ import { KonphGlobal } from "./types"; /** * 将url参数分割为键值对. * * @param {string} url search部分, 可以通过window.location.search取得. * @returns {KonphGlobal} url参数表. * @private */ export default function split>(searchStr: string): KonphGlobal;