export declare const template = "import * as mod from {{{compiledModulePath:string}}};\nimport { discoverExports } from {{{discoveryPath:string}}};\nimport { createMcpHandler, startStdioServer } from {{{mcpAdapterPath:string}}};\nimport { PolicyStore } from {{{policyStorePath:string}}};\n\nconst exportedNodeNames = {{{exportedNodeNamesJson:string}}};\nconst interruptKindsByName = {{{interruptKindsByNameJson:string}}};\n\nconst exports = discoverExports({\n  toolRegistry: mod.__toolRegistry ?? {},\n  moduleExports: mod,\n  moduleId: {{{moduleId:string}}},\n  exportedNodeNames,\n  interruptKindsByName,\n});\n\nconst serverName = {{{serverName:string}}};\nconst policyStore = new PolicyStore(serverName);\n\nconst interruptHandlers = {\n  hasInterrupts: mod.hasInterrupts,\n  respondToInterrupts: async (interrupts, responses) => {\n    const wrapped = await mod.respondToInterrupts(interrupts, responses);\n    return wrapped.data;\n  },\n};\n\nconst handler = createMcpHandler({\n  serverName,\n  serverVersion: {{{serverVersion:string}}},\n  exports,\n  policyConfig: { policyStore, interruptHandlers },\n});\n\nstartStdioServer(handler);\n";
export type TemplateType = {
    compiledModulePath: string;
    discoveryPath: string;
    mcpAdapterPath: string;
    policyStorePath: string;
    exportedNodeNamesJson: string;
    interruptKindsByNameJson: string;
    moduleId: string;
    serverName: string;
    serverVersion: string;
};
declare const render: (args: TemplateType) => string;
export default render;
