/**
 * HTTP请求超时时间(毫秒)
 */
export declare const REQUEST_TIMEOUT = 30000;
/**
 * 创建带超时的fetch请求
 */
export declare function fetchWithTimeout(url: string, timeout?: number): Promise<Response>;
/**
 * 检查URL是否有效
 */
export declare function isValidUrl(url: string): boolean;
/**
 * 转义正则表达式特殊字符
 */
export declare function escapeRegExp(string: string): string;
/**
 * 日志输出工具
 */
export declare function createLogger(verbose: boolean): {
    info: (message: string, ...args: any[]) => void;
    error: (message: string, ...args: any[]) => void;
    warn: (message: string, ...args: any[]) => void;
};
