export type BoundFileStatus = 'no_change' | 'content_changed' | 'not_found' | 'no_baseline'; export interface BoundFileStatusEntry { path: string; status: BoundFileStatus; localMd5?: string; serverMd5?: string; } export declare class McpServer { private server; private agentClient; private messageBuffer; private memoryStore; private roleMemoryStore; private sessionContextMemoryStore; private initialRoleName; private hasRoleName; private contextManager; private isSubAgent; private fileChangeNotifyHistory; private featuresCache; private static readonly FEATURES_CACHE_TTL_MS; private leaseRenewalTimer; private activeLeaseUris; private static readonly LEASE_DURATION_MINUTES; private static readonly LEASE_RENEW_INTERVAL_MS; private profileSynced; private urgentMeetingHydrateRequested; private cachedPluginCatalog; private deliveredPluginNames; private pluginCatalogDrainCompactionSeq; private pluginCatalogLastSeenCompactionSeq; private static readonly MEETING_HYDRATE_RETRY_COUNT; private static readonly MEETING_HYDRATE_RETRY_DELAY_MS; private static readonly MEETING_HYDRATE_TIMEOUT_REARM_DELAY_MS; private meetingHydrateTimeoutRearmDelayMs; private static readonly MEETING_HYDRATE_POLL_TIMEOUT_MS; private static readonly MEETING_PREEMPTIVE_JOIN_WAIT_MS; private pendingPollMessage; private syncRoleMemoryStore; private maybeSyncPermanentMemoryToServer; private doMaybeSyncPermanentMemoryToServer; private normalizeBoundFilePath; private normalizeBoundFiles; private validateBoundFilesExist; private toMemoryWriteResult; private toMemoryRecordWithMetadata; constructor(); private resolveGroupConfigState; private isToolGroupEnabled; private static readonly GROUP_ENV_KEYS; private resolveVisibleTools; private expandedToolGroups; private handleExpandTools; private relayBridgeCapability; private handleCallTool; private resolveFeatureStateByKey; private setupHandlers; private handlePencilExportImage; private static readonly PENCIL_EXPORT_FORMATS; private handlePencilExportDocument; private runPencilCli; private static readonly DRAW_EXPORT_FORMATS; private handleDrawExportDocument; private handleDrawExportImage; private stripRenderImageForReporting; private buildToolResultContent; private handleToolCall; private safeReportStatus; private executeToolCall; private fetchRuntimeFeaturesWithStatus; private static readonly MEMORY_TYPES; private static readonly MEMORY_TOOL_NAMES; private static findAgentsworkDirSync; private static sanitizeRoleDirectoryName; private static resolveRoleMemoryDirectoryName; private static buildRoleMemoryStorePath; private static resolveMemoryStorePaths; private getRequiredString; private getOptionalString; private getOptionalNumber; private getOptionalStringArray; private getOptionalMemoryType; private parseMemoryType; private isMemoryType; private getMemoryStoreForType; private readMemoryFromScopedStores; private backupProjectMemoryToLocal; private removeProjectMemoryLocalBackup; private findMemoryStoreForMutation; private reportMemoryStatsToServer; private sanitizeToolUseArgs; private stripAutoDelegateForReporting; private handleCreateMemory; private handleReadMemory; private handleUpdateMemory; private handleDeleteMemory; private deleteMemorySingle; private handleSearchMemory; private searchOwnMemories; private mergeSearchResults; private handleListMemories; private handleGetMemoryStats; private handleListMemoriesByFile; private mergeIdDedupe; private searchChildMemoriesByFileLocal; private searchPeerMemoriesByFileLocal; private collectOwnMemoriesByFile; private handleAbandonMemoryUpdate; private handleMemoryRecurrence; private handleMemoryRecurrenceComplete; private fetchRecentMessages; private handleSendGroup; private uploadAttachmentFiles; private uploadFileRequest; private mergeContentWithAttachmentMarkers; private recordMessageTokenUsage; private handleHireColleague; private handleSendPrivate; private handleCreateTaskInstanceComment; private prependMemoryNotification; private handlePollMessage; private doPollMessage; private checkAllLocalNonUrgentNotifications; private buildPollResult; private shouldDeliverPluginCatalog; private parsePositiveIntegerEnv; private sleep; private buildMemoryCleanupNotification; private buildMemoryRecurrenceNotification; private buildMemoryFileChangeNotification; private isClaimCached; private computeBoundFileStatuses; private fileChangeFingerprint; private filterFileChangesByRenotifyCooldown; private checkMemoriesFileChanges; private calculateFileMd5; private verifyFileNotExist; private handleGetMessage; private confirmServerMessages; private hydrateUnreadMessagesFromServer; private hydrateBrowserListenerEvents; private hydratePluginEvents; private buildListenerEventNotification; private formatChangeType; private handleGetDmHistory; private handleGetGroupHistory; private handleSubmitTaskResult; private handleStartTaskRollback; private handleFinishTaskRollback; private handleRejectTask; private handleTerminateTask; private handleIncomingMessage; private handleSystemNotify; private parseNotificationPayload; private shouldBufferIncomingMessage; private isGroupMessage; private isPipelineTaskAssignedNotification; private isSelfSentMessage; private getCurrentAgentId; private sanitizeAgentIdForTodoFile; private buildTodoBlockNotification; private buildBackgroundTaskNotification; start(): Promise; private startLeaseRenewal; private stopLeaseRenewal; stop(): void; private autoRegister; private autoRegisterInBackground; private startListeningInternal; private activelySyncProfile; private delay; }