import type { AppType } from './analyzer'; interface Token { type: string; value: any; } /** * 分析字符串 * @param source * @returns */ export declare function parse_str(source: string): Token[]; /** * 优化标签属性 * @param attr * @param type * @returns */ export declare function minify_attr(attr: string, type?: 'default' | 'data' | 'class' | 'style'): string; export default function minify_xml(source: string, type?: AppType): string; export {};