import { type Alias } from '@modern-js/utils'; import type { ConfigChain } from '@rsbuild/core'; type TsRuntimeRegisterMode = 'ts-node' | 'node-loader' | 'unsupported'; interface TsRuntimeSetupOptions { moduleType?: string; } export declare const resolveTsRuntimeRegisterMode: (hasTsNode: boolean) => TsRuntimeRegisterMode; /** * Setup TypeScript runtime support. * Register ts-node for compilation and tsconfig-paths for path alias resolution. */ export declare const setupTsRuntime: (appDir: string, distDir: string, alias?: ConfigChain, options?: TsRuntimeSetupOptions) => Promise; export {};