import type { CompilerOptions } from '@angular/compiler-cli';
import ts from 'typescript';
type AngularCompilerCache = {
    host: ts.CompilerHost;
    options: CompilerOptions;
    configHash: string;
    tsLibDir: string;
    lastUsed: number;
};
declare global {
    var __angularCompilerCache: AngularCompilerCache | undefined;
}
export declare const compileAngularFile: (inputPath: string, outDir: string) => Promise<string[]>;
/** Angular HMR Runtime Layer (Level 3) — JIT-mode compilation for dev/HMR builds.
 *  Uses ts.transpileModule() instead of Angular AOT performCompilation().
 *  Inlines templateUrl → template and styleUrls → styles from disk.
 *  Recursively transpiles all local imports so Bun's bundler can resolve them.
 *  ~50-100ms for a tree of ~10 files vs ~500-700ms for AOT. */
export declare const compileAngularFileJIT: (inputPath: string, outDir: string, rootDir?: string) => Promise<string[]>;
export declare const compileAngular: (entryPoints: string[], outRoot: string, hmr?: boolean) => Promise<{
    clientPaths: string[];
    serverPaths: string[];
    allIndexesUnchanged?: undefined;
} | {
    allIndexesUnchanged: boolean;
    clientPaths: string[];
    serverPaths: string[];
}>;
export {};
