interface VfsOptions { namedExport?: boolean; // eslint-disable-next-line @typescript-eslint/no-explicit-any modules: Record; } /** * 运行 ts 代码 * @param {String} filepath 文件名 * @returns {String} declaration * @example * // a.ts * export default { user: 'admin' } as { user: 'admin' }; * // b.js * const a = vts('fullpath/a.ts'); * * console.log(a); // { user: 'admin' } */ export declare function vts(filepath: string, options?: VfsOptions): T; export { };