import { EmitContext } from "@typespec/compiler"; import { EmitTarget, TypraEmitterOptions } from "../../lib.js"; import { TypeNode } from "../../ir/ast.js"; import { GeneratorOptions } from "../../emitter.js"; /** * Type mapping from TypeSpec scalar types to Python types. * This is passed as data to templates, not used for inline rendering. */ export declare const pythonTypeMapper: Record; /** * Stale generated files are removed centrally by `pruneStaleGeneratedFiles`, which uses the * previous run's manifest to decide ownership rather than guessing from file names. */ /** * Main entry point for Python code generation. * Prepares data contexts and delegates rendering to inline emitter functions. */ export declare const generatePython: (context: EmitContext, node: TypeNode, emitTarget: EmitTarget, options?: GeneratorOptions) => Promise;