import type { VmTypeName, VmConst, VmValue } from '@mirascript/mirascript'; /** 转换选项 */ export interface Options { /** 格式 */ readonly format: 'paren' | 'no-paren' | 'expr'; } /** 转换结果 */ export interface Result { /** 节点类型 */ readonly type?: VmTypeName; /** 为字面量 */ readonly literal?: VmConst; /** 为全局变量 */ readonly global?: VmValue; /** 转换后的代码 */ readonly code: string; /** 转换后的代码 */ readonly as_boolean?: string; /** 转换后的代码 */ readonly as_number?: string; /** 转换后的代码 */ readonly as_string?: string; } /** 判断是否为转换结果 */ export declare function isResult(value: unknown): value is Result; //# sourceMappingURL=interface.d.ts.map