import type { CheckedScript } from '../check/index.js'; import type { DiagnosticSink } from '../diagnostics/index.js'; import type { SourceFile } from '../source/index.js'; import type { EmitOptions } from './context.js'; import type { Gap } from './gaps.js'; import type { CompiledProgram } from './program.js'; export interface EmitResult { /** The program, or nothing when a gap stopped a faithful one being produced. */ readonly program: CompiledProgram | undefined; readonly gaps: readonly Gap[]; } export declare function emit(file: SourceFile, checked: CheckedScript, sink: DiagnosticSink, options?: EmitOptions): EmitResult; //# sourceMappingURL=emit.d.ts.map