import { Diagnostic, EmitContext } from "@typespec/compiler"; import { CodeModel, CSharpEmitterContext } from "@typespec/http-client-csharp"; import { AzureEmitterOptions } from "./options.js"; export declare function $onEmit(context: EmitContext): Promise; /** * Emits Azure code model with optional customization callback. * * This function applies Azure-specific defaults (generator name, license, decorators, etc.), * generates the metadata.json file, and delegates to the base emitter's `emitCodeModel`. * Downstream emitters (e.g., management plane) can call this instead of `$onEmit` to pass * an `updateCodeModel` callback for additional code model transformations. * * @param context - The emit context * @param updateCodeModel - Optional callback to modify the code model before emission * @returns A tuple containing void and any diagnostics generated during emission */ export declare function emitAzureCodeModel(context: EmitContext, updateCodeModel?: (model: CodeModel, context: CSharpEmitterContext) => CodeModel): Promise<[void, readonly Diagnostic[]]>; //# sourceMappingURL=emitter.d.ts.map