import { Program } from "oxc-parser"; /** * Source map class from `esrap`. */ type SourceMap = { version: number; sources: string[]; names: string[]; mappings: string; sourcesContent: string[]; toString: () => string; toUrl: () => string; }; type CodegenOptions = { file: string; code?: string; program: Program; }; type CodegenResult = { code: string; map: SourceMap; }; declare const codegen: (options: CodegenOptions) => CodegenResult; export { type CodegenOptions, type CodegenResult, type SourceMap, codegen }; //# sourceMappingURL=codegen.d.ts.map