wangzhibo
2026-07-16 b57020623cf0c946706573bf102e548c3a544423
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/**
 * 获取动态类名
 */
export declare const getDynamicClassNames: (value: string) => string[];
/**
 * 获取类名
 */
export declare function getClassNames(code: string): string[];
/**
 * 获取 class 内容
 */
export declare function getClassContent(code: string): string[];
/**
 * 获取节点
 */
export declare function getNodes(code: string): string[];
/**
 * 添加 script 标签内容
 */
export declare function addScriptContent(code: string, content: string): string;
/**
 * 判断是否为 Tailwind 类名
 */
export declare function isTailwindClass(className: string): boolean;
/**
 * 将 interface 转换为 type
 */
export declare function interfaceToType(code: string): string;