export interface JitTransformResult { code: string; map: any; } /** * JIT transform for Angular files. * * Converts Angular decorators to static metadata arrays that Angular's * runtime JIT compiler reads via ReflectionCapabilities: * * - Class.decorators = [{ type: Component, args: [{...}] }] * - Class.ctorParameters = () => [{ type: ServiceA, decorators: [{type: Optional}] }] * - Class.propDecorators = { name: [{ type: Input }], ... } * * Also emits ɵfac (factory function) with constructor DI and downlevels * signal APIs (input, model, output, viewChild, etc.) to propDecorators. * * No template compilation — Angular's JIT compiler handles that at runtime. * Requires `import '@angular/compiler'` in main.ts for the browser JIT. * * Uses OXC's native Rust parser instead of TypeScript's parser for ~1.5x * faster parsing and source-position slicing instead of getText() calls. */ export declare function jitTransform(sourceCode: string, fileName: string): JitTransformResult;