import type { FastifyInstance } from 'fastify';
import type { CommentService } from '../../services/comment-service.js';
import type { NotificationService } from '../../services/notification-service.js';
import type { AuthService } from '../../services/auth-service.js';
import type { WorkspaceManager } from '../../core/workspace-manager.js';
import type { AgentOrchestrator } from '../../agent/orchestrator.js';
import type { WsHub } from '../ws-hub.js';
export declare function registerCommentsApiRoutes(fastify: FastifyInstance, commentService: CommentService, notificationService: NotificationService, authService: AuthService, wsHub: WsHub, workspaceManager: WorkspaceManager, 
/**
 * Resolved lazily on each invocation so the route can be registered
 * before the orchestrator boots. Returns null when the agent failed
 * to initialise (missing API keys, etc.); @-mentions degrade to a
 * no-op response in that case.
 */
getAgent?: () => AgentOrchestrator | null): Promise<void>;
