import * as xir from '../ir.js'; import * as clang from './clang.js'; import * as ts from './typescript.js'; export { clang, ts }; export interface ParseOptions { /** If set, the exit codes of sub-shells are ignored */ ignoreExit?: boolean; /** Override the entry point used for computing issue messages */ issueEntry?: string; } export declare function parse(lang: string, file: string, opts: ParseOptions): Iterable; export interface EmitOptions { /** Type casts currently are very prone to being emitted as invalid code */ noCasts?: boolean; } export declare function emit(lang: string, units: xir.Unit[], opts: EmitOptions): string;