export interface RenderConfig { projectName: string; branch: string; nginxPort?: number; apiProxy?: string; apiPath?: string; serverName?: string; rootPath?: string; extraLocations?: Array<{ path: string; proxyPass: string; extraConfig?: string; }>; skipDefaultApiLocation?: boolean; targetPath?: string; } export declare class NginxRenderer { /** * Find template file by trying multiple possible paths */ private findTemplatePath; /** * Map environment from branch name */ private mapEnv; private generateDefaultServerName; /** * Generate API proxy address from project name * Example: city-web -> http://city-service:8080 */ private generateApiProxy; private renderProxyBlock; private buildProxyBlocks; /** * Render Nginx config from template */ render(config: RenderConfig): Promise<{ content: string; path: string; env: string; apiProxy: string; apiPath: string; nginxPort: number; serverName: string; rootPath: string; extraLocations: RenderConfig['extraLocations']; }>; }