/** * Go test emitter — BaseTestContext → Go test source code. * * Replaces `test.go.njk` and `_macros.njk` Nunjucks templates with * typed TypeScript functions that produce identical Go test output. * * Each test file covers one type and contains: * - Per-example: LoadJSON, LoadYAML, Roundtrip, ToJSON, ToYAML tests * - Per-coercion: From tests for scalar-to-object expansion */ import { BaseTestContext } from "../../ir/ast.js"; /** * Emit a complete Go test file for a single type. * * @param ctx - test context built by `buildBaseTestContext()` * @returns Complete Go test source file as a string */ export declare function emitGoTest(ctx: BaseTestContext & { importPath: string; fieldNames?: ReadonlyMap<string, string>; }): string;