import { type ComponentPlan, type StraightlineDialect } from "./straightline.js"; export declare function setGoForceRunPlanHelpers(on: boolean): void; /** * emitExpr — Expression IR ノードを「scope を受けて (Value, error) を返す」Go 式に落とす * (**dynamic 式専用**の legacy 経路 — RunPlan 経路と typed emitter が流用する seam)。 */ declare function emitExpr(node: unknown, scopeVar: string): string; /** component 名を Go 関数名に使える形へ(決定的。名前一意は DUPLICATE_COMPONENT で保証)。 */ declare function sanitize(name: string): string; /** ops リテラル(RunPlan に渡す []OpSpec の Go リテラル)を綴じる。 */ declare function emitOpsLiteral(plan: ComponentPlan): string; /** port ローカル変数名(Go 識別子として安全)。 */ declare function goPortVar(name: string): string; /** behavior plan({groups, concurrency})を *ExecutionPlanSpec Go リテラルへ。 */ declare function emitBehaviorPlanLiteral(plan: unknown): string; /** * go-typed(bc#47)が struct-native exec を綴じるために再利用する内部 emit ヘルパ。 */ export declare const goStraightlineInternals: { PKG: string; emitExpr: typeof emitExpr; emitOpsLiteral: typeof emitOpsLiteral; emitBehaviorPlanLiteral: typeof emitBehaviorPlanLiteral; goPortVar: typeof goPortVar; sanitize: typeof sanitize; dialect: StraightlineDialect; }; export {}; //# sourceMappingURL=emit-shared-go.d.ts.map