import { DiagnosticBag } from '../diagnostics/diagnostic.js'; import type { AstFile } from '../parser/ast.js'; import type { BindResult } from '../binder/binder.js'; import type { ProductGraph } from '../graph/graph-types.js'; import type { Plan } from '../planner/plan-types.js'; import type { SpecTestSuiteResult } from '../testing/test-runner.js'; import type { ConstitutionResolutionResult } from '../registry/resolution.js'; export type StopAfter = 'validate' | 'graph' | 'plan' | 'test' | 'build'; export interface CompileOptions { readonly stopAfter?: StopAfter; readonly writeBuild?: boolean; readonly files?: readonly string[]; } export interface CompileResult { readonly diagnostics: DiagnosticBag; readonly files: readonly AstFile[]; readonly bindResult?: BindResult; readonly graph?: ProductGraph; readonly graphJson?: string; readonly plan?: Plan; readonly planJson?: string; readonly testResults?: SpecTestSuiteResult; readonly constitutions?: ConstitutionResolutionResult; } export declare function compile(root: string, options?: CompileOptions): CompileResult; //# sourceMappingURL=compile.d.ts.map