import { OpenAPIV3 } from 'openapi-types'; import { CliOptions } from '../types/index.js'; /** * Generates the TypeScript code for the MCP server * * @param api OpenAPI document * @param options CLI options * @param serverName Server name * @param serverVersion Server version * @returns Generated TypeScript code */ export declare function generateMcpServerCode(api: OpenAPIV3.Document, options: CliOptions, serverName: string, serverVersion: string): string; /** * Generates the editable `src/auth.ts` custom auth hook stub (issue #9). * * The generated server calls `applyCustomAuth` before applying built-in * (env-based) auth. Returning `true` signals that auth was fully handled and * built-in auth should be skipped — useful for custom JWT/header schemes or * excluding specific operations from automatic auth injection. * * @returns Generated TypeScript source for src/auth.ts */ export declare function generateCustomAuthStub(): string;