type Nullable = T | null | undefined declare function KtSingleton(): T & (abstract new() => any); export declare namespace kotlin.collections { interface KtMap { asJsReadonlyMapView(): ReadonlyMap; readonly __doNotUseOrImplementIt: { readonly "kotlin.collections.KtMap": unique symbol; }; } abstract class KtMap extends KtSingleton() { private constructor(); } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace KtMap.$metadata$ { abstract class constructor { fromJsMap(map: ReadonlyMap): kotlin.collections.KtMap; private constructor(); } } } export declare namespace io.ktor.client.engine.js { /** @deprecated */ const initHook: any; } export declare namespace cc.unitmesh.agent { class JsReviewTask { constructor(filePaths: Array, reviewType: string | undefined, projectPath: string, additionalContext?: string); get filePaths(): Array; get reviewType(): string; get projectPath(): string; get additionalContext(): string; toCommon(): any/* cc.unitmesh.agent.ReviewTask */; copy(filePaths?: Array, reviewType?: string, projectPath?: string, additionalContext?: string): cc.unitmesh.agent.JsReviewTask; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsReviewTask.$metadata$ { const constructor: abstract new () => JsReviewTask; } class JsReviewFinding { constructor(severity: string, category: string, description: string, filePath?: Nullable, lineNumber?: Nullable, suggestion?: Nullable); get severity(): string; get category(): string; get description(): string; get filePath(): Nullable; get lineNumber(): Nullable; get suggestion(): Nullable; copy(severity?: string, category?: string, description?: string, filePath?: Nullable, lineNumber?: Nullable, suggestion?: Nullable): cc.unitmesh.agent.JsReviewFinding; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsReviewFinding.$metadata$ { const constructor: abstract new () => JsReviewFinding; } namespace JsReviewFinding { abstract class Companion extends KtSingleton() { private constructor(); } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace Companion.$metadata$ { abstract class constructor { fromCommon(finding: any/* cc.unitmesh.agent.ReviewFinding */): cc.unitmesh.agent.JsReviewFinding; private constructor(); } } } class JsCodeReviewResult { constructor(success: boolean, message: string, findings: Array); get success(): boolean; get message(): string; get findings(): Array; copy(success?: boolean, message?: string, findings?: Array): cc.unitmesh.agent.JsCodeReviewResult; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsCodeReviewResult.$metadata$ { const constructor: abstract new () => JsCodeReviewResult; } namespace JsCodeReviewResult { abstract class Companion extends KtSingleton() { private constructor(); } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace Companion.$metadata$ { abstract class constructor { fromCommon(result: any/* cc.unitmesh.agent.CodeReviewResult */): cc.unitmesh.agent.JsCodeReviewResult; private constructor(); } } } class JsLintResult { constructor(filePath: string, issues: Array, success: boolean, errorMessage?: Nullable); get filePath(): string; get issues(): Array; get success(): boolean; get errorMessage(): Nullable; copy(filePath?: string, issues?: Array, success?: boolean, errorMessage?: Nullable): cc.unitmesh.agent.JsLintResult; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsLintResult.$metadata$ { const constructor: abstract new () => JsLintResult; } class JsLintIssue { constructor(line: number, column: number, severity: string, message: string, rule?: Nullable, suggestion?: Nullable); get line(): number; get column(): number; get severity(): string; get message(): string; get rule(): Nullable; get suggestion(): Nullable; copy(line?: number, column?: number, severity?: string, message?: string, rule?: Nullable, suggestion?: Nullable): cc.unitmesh.agent.JsLintIssue; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsLintIssue.$metadata$ { const constructor: abstract new () => JsLintIssue; } class JsLintFileResult { constructor(filePath: string, linterName: string, errorCount: number, warningCount: number, infoCount: number, issues: Array); get filePath(): string; get linterName(): string; get errorCount(): number; get warningCount(): number; get infoCount(): number; get issues(): Array; copy(filePath?: string, linterName?: string, errorCount?: number, warningCount?: number, infoCount?: number, issues?: Array): cc.unitmesh.agent.JsLintFileResult; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsLintFileResult.$metadata$ { const constructor: abstract new () => JsLintFileResult; } class JsCodeReviewAgent { constructor(projectPath: string, llmService: cc.unitmesh.llm.JsKoogLLMService, maxIterations?: number, renderer?: Nullable, mcpServers?: any, toolConfig?: Nullable); executeTask(reviewType: string, filePaths?: Array, codeContent?: any, lintResults?: any, diffContext?: string, commitMessage?: string, commitId?: string, repoUrl?: string, issueToken?: string, useTools?: boolean, analyzeIntent?: boolean, language?: string, onChunk?: Nullable<(p0: string) => void>): Promise; generateFixes(patch: string, lintResults: Array, analysisOutput: string, language?: string, onChunk?: Nullable<(p0: string) => void>): Promise; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsCodeReviewAgent.$metadata$ { const constructor: abstract new () => JsCodeReviewAgent; } class JsAnalysisResult { constructor(success: boolean, content: string, mermaidDiagram: Nullable, issuesAnalyzed: Array, usedTools: boolean); get success(): boolean; get content(): string; get mermaidDiagram(): Nullable; get issuesAnalyzed(): Array; get usedTools(): boolean; copy(success?: boolean, content?: string, mermaidDiagram?: Nullable, issuesAnalyzed?: Array, usedTools?: boolean): cc.unitmesh.agent.JsAnalysisResult; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsAnalysisResult.$metadata$ { const constructor: abstract new () => JsAnalysisResult; } class JsDiffFile { constructor(path: string, oldPath: Nullable, changeType: string, addedLines: number, deletedLines: number, hunks: Array); get path(): string; get oldPath(): Nullable; get changeType(): string; get addedLines(): number; get deletedLines(): number; get hunks(): Array; copy(path?: string, oldPath?: Nullable, changeType?: string, addedLines?: number, deletedLines?: number, hunks?: Array): cc.unitmesh.agent.JsDiffFile; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsDiffFile.$metadata$ { const constructor: abstract new () => JsDiffFile; } class JsDiffHunk { constructor(oldStartLine: number, oldLineCount: number, newStartLine: number, newLineCount: number, header: string, addedLines: Array, deletedLines: Array, contextLines: Array); get oldStartLine(): number; get oldLineCount(): number; get newStartLine(): number; get newLineCount(): number; get header(): string; get addedLines(): Array; get deletedLines(): Array; get contextLines(): Array; copy(oldStartLine?: number, oldLineCount?: number, newStartLine?: number, newLineCount?: number, header?: string, addedLines?: Array, deletedLines?: Array, contextLines?: Array): cc.unitmesh.agent.JsDiffHunk; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsDiffHunk.$metadata$ { const constructor: abstract new () => JsDiffHunk; } abstract class JsDiffUtils extends KtSingleton() { private constructor(); } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsDiffUtils.$metadata$ { abstract class constructor { parseDiff(diffContent: string): Array; extractFilePaths(diffContent: string): Array; private constructor(); } } class JsLinterRegistry { constructor(); findLintersForFiles(filePaths: Array): Array; detectLanguage(filePath: string): Nullable; getLintersForLanguage(language: string): Array; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsLinterRegistry.$metadata$ { const constructor: abstract new () => JsLinterRegistry; } } export declare namespace cc.unitmesh.agent { class JsAgentStep { constructor(step: number, action: string, tool: Nullable | undefined, params: Nullable | undefined, result: Nullable | undefined, success: boolean); get step(): number; get action(): string; get tool(): Nullable; get params(): Nullable; get result(): Nullable; get success(): boolean; copy(step?: number, action?: string, tool?: Nullable, params?: Nullable, result?: Nullable, success?: boolean): cc.unitmesh.agent.JsAgentStep; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsAgentStep.$metadata$ { const constructor: abstract new () => JsAgentStep; } namespace JsAgentStep { abstract class Companion extends KtSingleton() { private constructor(); } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace Companion.$metadata$ { abstract class constructor { fromCommon(step: any/* cc.unitmesh.agent.AgentStep */): cc.unitmesh.agent.JsAgentStep; private constructor(); } } } class JsAgentEdit { constructor(file: string, operation: string, content?: Nullable); get file(): string; get operation(): string; get content(): Nullable; copy(file?: string, operation?: string, content?: Nullable): cc.unitmesh.agent.JsAgentEdit; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsAgentEdit.$metadata$ { const constructor: abstract new () => JsAgentEdit; } namespace JsAgentEdit { abstract class Companion extends KtSingleton() { private constructor(); } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace Companion.$metadata$ { abstract class constructor { fromCommon(edit: any/* cc.unitmesh.agent.AgentEdit */): cc.unitmesh.agent.JsAgentEdit; private constructor(); } } } class JsAgentResult { constructor(success: boolean, message: string, steps: Array, edits: Array); get success(): boolean; get message(): string; get steps(): Array; get edits(): Array; copy(success?: boolean, message?: string, steps?: Array, edits?: Array): cc.unitmesh.agent.JsAgentResult; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsAgentResult.$metadata$ { const constructor: abstract new () => JsAgentResult; } namespace JsAgentResult { abstract class Companion extends KtSingleton() { private constructor(); } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace Companion.$metadata$ { abstract class constructor { fromCommon(result: any/* cc.unitmesh.agent.AgentResult */): cc.unitmesh.agent.JsAgentResult; private constructor(); } } } class JsAgentTask { constructor(requirement: string, projectPath: string); get requirement(): string; get projectPath(): string; toCommon(): any/* cc.unitmesh.agent.AgentTask */; copy(requirement?: string, projectPath?: string): cc.unitmesh.agent.JsAgentTask; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsAgentTask.$metadata$ { const constructor: abstract new () => JsAgentTask; } class JsCodingAgent { constructor(projectPath: string, llmService: cc.unitmesh.llm.JsKoogLLMService, maxIterations?: number, renderer?: Nullable, mcpServers?: any, toolConfig?: Nullable); executeTask(task: cc.unitmesh.agent.JsAgentTask): Promise; initializeWorkspace(): Promise; getConversationHistory(): Array; observePlanState(callback: (p0: Nullable) => void): () => void; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsCodingAgent.$metadata$ { const constructor: abstract new () => JsCodingAgent; } } export declare namespace cc.unitmesh.agent { class JsDocumentTask { constructor(query: string, documentPath?: Nullable); get query(): string; get documentPath(): Nullable; toCommon(): any/* cc.unitmesh.agent.document.DocumentTask */; copy(query?: string, documentPath?: Nullable): cc.unitmesh.agent.JsDocumentTask; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsDocumentTask.$metadata$ { const constructor: abstract new () => JsDocumentTask; } class JsDocumentResult { constructor(success: boolean, message: string); get success(): boolean; get message(): string; copy(success?: boolean, message?: string): cc.unitmesh.agent.JsDocumentResult; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsDocumentResult.$metadata$ { const constructor: abstract new () => JsDocumentResult; } class JsDocumentAgent { constructor(llmService: cc.unitmesh.llm.JsKoogLLMService, parserService: any/* cc.unitmesh.devins.document.DocumentParserService */, renderer?: Nullable, toolConfig?: Nullable); executeTask(query: string, documentPath?: Nullable, onChunk?: Nullable<(p0: string) => void>): Promise; registerDocument(path: string, content: string): Promise; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsDocumentAgent.$metadata$ { const constructor: abstract new () => JsDocumentAgent; } } export declare namespace cc.unitmesh.agent { class JsDomainDictContext { constructor(userQuery: string, currentDict?: Nullable, maxIterations?: number, focusArea?: Nullable); get userQuery(): string; get currentDict(): Nullable; get maxIterations(): number; get focusArea(): Nullable; toCommon(): any/* cc.unitmesh.agent.subagent.DomainDictContext */; copy(userQuery?: string, currentDict?: Nullable, maxIterations?: number, focusArea?: Nullable): cc.unitmesh.agent.JsDomainDictContext; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsDomainDictContext.$metadata$ { const constructor: abstract new () => JsDomainDictContext; } class JsDeepResearchResult { constructor(success: boolean, message: string, steps: number, newEntries: number, report: string); get success(): boolean; get message(): string; get steps(): number; get newEntries(): number; get report(): string; copy(success?: boolean, message?: string, steps?: number, newEntries?: number, report?: string): cc.unitmesh.agent.JsDeepResearchResult; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsDeepResearchResult.$metadata$ { const constructor: abstract new () => JsDeepResearchResult; } class JsDomainDictAgent { constructor(projectPath: string, llmService: cc.unitmesh.llm.JsKoogLLMService); executeDeepResearch(userQuery: string, focusArea?: Nullable, maxIterations?: number, onProgress?: Nullable<(p0: string) => void>): Promise; executeQuickResearch(userQuery: string, focusArea?: Nullable, onProgress?: Nullable<(p0: string) => void>): Promise; dictionaryExists(): Promise; getDictionaryContent(): Promise>; getStateSummary(): any; askQuestion(question: string): Promise; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsDomainDictAgent.$metadata$ { const constructor: abstract new () => JsDomainDictAgent; } namespace JsDomainDictAgent { abstract class Companion extends KtSingleton() { private constructor(); } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace Companion.$metadata$ { abstract class constructor { create(projectPath: string, llmService: cc.unitmesh.llm.JsKoogLLMService): cc.unitmesh.agent.JsDomainDictAgent; private constructor(); } } } } export declare namespace cc.unitmesh.agent { abstract class JsPlatform extends KtSingleton() { private constructor(); } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsPlatform.$metadata$ { abstract class constructor { get name(): string; get isJvm(): boolean; get isJs(): boolean; get isWasm(): boolean; get isAndroid(): boolean; get isIOS(): boolean; getOSName(): string; getDefaultShell(): string; getCurrentTimestamp(): string; getOSInfo(): string; getOSVersion(): string; getUserHomeDir(): string; getLogDir(): string; private constructor(); } } function getPlatformInfo(): string; } export declare namespace cc.unitmesh.agent { class JsStepSummary { constructor(id: string, description: string, status: string); get id(): string; get description(): string; get status(): string; copy(id?: string, description?: string, status?: string): cc.unitmesh.agent.JsStepSummary; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsStepSummary.$metadata$ { const constructor: abstract new () => JsStepSummary; } namespace JsStepSummary { abstract class Companion extends KtSingleton() { private constructor(); } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace Companion.$metadata$ { abstract class constructor { from(step: any/* cc.unitmesh.agent.plan.StepSummary */): cc.unitmesh.agent.JsStepSummary; private constructor(); } } } class JsTaskSummary { constructor(id: string, title: string, status: string, completedSteps: number, totalSteps: number, steps: Array); get id(): string; get title(): string; get status(): string; get completedSteps(): number; get totalSteps(): number; get steps(): Array; copy(id?: string, title?: string, status?: string, completedSteps?: number, totalSteps?: number, steps?: Array): cc.unitmesh.agent.JsTaskSummary; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsTaskSummary.$metadata$ { const constructor: abstract new () => JsTaskSummary; } namespace JsTaskSummary { abstract class Companion extends KtSingleton() { private constructor(); } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace Companion.$metadata$ { abstract class constructor { from(task: any/* cc.unitmesh.agent.plan.TaskSummary */): cc.unitmesh.agent.JsTaskSummary; private constructor(); } } } class JsPlanSummaryData { constructor(planId: string, title: string, totalSteps: number, completedSteps: number, failedSteps: number, progressPercent: number, status: string, currentStepDescription: Nullable, tasks: Array); get planId(): string; get title(): string; get totalSteps(): number; get completedSteps(): number; get failedSteps(): number; get progressPercent(): number; get status(): string; get currentStepDescription(): Nullable; get tasks(): Array; copy(planId?: string, title?: string, totalSteps?: number, completedSteps?: number, failedSteps?: number, progressPercent?: number, status?: string, currentStepDescription?: Nullable, tasks?: Array): cc.unitmesh.agent.JsPlanSummaryData; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsPlanSummaryData.$metadata$ { const constructor: abstract new () => JsPlanSummaryData; } namespace JsPlanSummaryData { abstract class Companion extends KtSingleton() { private constructor(); } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace Companion.$metadata$ { abstract class constructor { from(summary: any/* cc.unitmesh.agent.plan.PlanSummaryData */): cc.unitmesh.agent.JsPlanSummaryData; private constructor(); } } } interface JsCodingAgentRenderer { renderIterationHeader(current: number, max: number): void; renderLLMResponseStart(): void; renderLLMResponseChunk(chunk: string): void; renderLLMResponseEnd(): void; renderToolCall(toolName: string, paramsStr: string): void; renderToolResult(toolName: string, success: boolean, output: Nullable, fullOutput: Nullable): void; renderTaskComplete(): void; renderFinalResult(success: boolean, message: string, iterations: number): void; renderError(message: string): void; renderRepeatWarning(toolName: string, count: number): void; renderRecoveryAdvice(recoveryAdvice: string): void; renderPlanSummary(summary: cc.unitmesh.agent.JsPlanSummaryData): void; readonly __doNotUseOrImplementIt: { readonly "cc.unitmesh.agent.JsCodingAgentRenderer": unique symbol; }; } abstract class RendererFactory extends KtSingleton() { private constructor(); } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace RendererFactory.$metadata$ { abstract class constructor { createRenderer(jsRenderer: cc.unitmesh.agent.JsCodingAgentRenderer): any/* cc.unitmesh.agent.render.CodingAgentRenderer */; private constructor(); } } } export declare namespace cc.unitmesh.agent.config { abstract class JsToolConfigManager extends KtSingleton() { private constructor(); } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsToolConfigManager.$metadata$ { abstract class constructor { loadToolConfig(): Promise; saveToolConfig(config: cc.unitmesh.agent.config.JsToolConfigFile): Promise; getConfigSummary(config: cc.unitmesh.agent.config.JsToolConfigFile): string; updateToolConfig(currentConfig: cc.unitmesh.agent.config.JsToolConfigFile, enabledBuiltinTools: Array, enabledMcpTools: Array): cc.unitmesh.agent.config.JsToolConfigFile; private constructor(); } } class JsToolConfigFile { constructor(enabledBuiltinTools: Array, enabledMcpTools: Array, mcpServers: any); get enabledBuiltinTools(): Array; get enabledMcpTools(): Array; get mcpServers(): any; toCommon(): any/* cc.unitmesh.agent.config.ToolConfigFile */; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsToolConfigFile.$metadata$ { const constructor: abstract new () => JsToolConfigFile; } namespace JsToolConfigFile { abstract class Companion extends KtSingleton() { private constructor(); } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace Companion.$metadata$ { abstract class constructor { fromCommon(config: any/* cc.unitmesh.agent.config.ToolConfigFile */): cc.unitmesh.agent.config.JsToolConfigFile; default(): cc.unitmesh.agent.config.JsToolConfigFile; private constructor(); } } } class JsChatConfig { constructor(temperature: number, systemPrompt: string, maxTokens: number); get temperature(): number; get systemPrompt(): string; get maxTokens(): number; toCommon(): any/* cc.unitmesh.agent.config.ChatConfig */; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsChatConfig.$metadata$ { const constructor: abstract new () => JsChatConfig; } namespace JsChatConfig { abstract class Companion extends KtSingleton() { private constructor(); } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace Companion.$metadata$ { abstract class constructor { fromCommon(config: any/* cc.unitmesh.agent.config.ChatConfig */): cc.unitmesh.agent.config.JsChatConfig; private constructor(); } } } } export declare namespace cc.unitmesh.agent.linter { abstract class JsLinterRegistry extends KtSingleton() { private constructor(); } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsLinterRegistry.$metadata$ { abstract class constructor { getLinterSummaryForFiles(filePaths: Array, projectPath?: string): Promise; findLintersForFiles(filePaths: Array): Array; getAllLinters(): Array; private constructor(); } } class JsLintDetector { constructor(projectPath: string); detectAvailableLinters(): Promise>; detectLintersForFiles(filePaths: Array): Promise>; getLinterConfig(name: string): Nullable; getAllLinterConfigs(): Array; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsLintDetector.$metadata$ { const constructor: abstract new () => JsLintDetector; } class JsLinterDetectionResult { constructor(linterName: string, isAvailable: boolean, version?: Nullable, supportedFiles?: Array, installationInstructions?: Nullable); get linterName(): string; get isAvailable(): boolean; get version(): Nullable; get supportedFiles(): Array; get installationInstructions(): Nullable; copy(linterName?: string, isAvailable?: boolean, version?: Nullable, supportedFiles?: Array, installationInstructions?: Nullable): cc.unitmesh.agent.linter.JsLinterDetectionResult; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsLinterDetectionResult.$metadata$ { const constructor: abstract new () => JsLinterDetectionResult; } class JsLinterConfig { constructor(name: string, technology: string, category: string, fileExtensions: Array, versionCommand: string, description: string); get name(): string; get technology(): string; get category(): string; get fileExtensions(): Array; get versionCommand(): string; get description(): string; copy(name?: string, technology?: string, category?: string, fileExtensions?: Array, versionCommand?: string, description?: string): cc.unitmesh.agent.linter.JsLinterConfig; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsLinterConfig.$metadata$ { const constructor: abstract new () => JsLinterConfig; } class JsFileLintSummary { constructor(filePath: string, linterName: string, totalIssues: number, errorCount: number, warningCount: number, infoCount: number, topIssues: Array, hasMoreIssues: boolean); get filePath(): string; get linterName(): string; get totalIssues(): number; get errorCount(): number; get warningCount(): number; get infoCount(): number; get topIssues(): Array; get hasMoreIssues(): boolean; copy(filePath?: string, linterName?: string, totalIssues?: number, errorCount?: number, warningCount?: number, infoCount?: number, topIssues?: Array, hasMoreIssues?: boolean): cc.unitmesh.agent.linter.JsFileLintSummary; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsFileLintSummary.$metadata$ { const constructor: abstract new () => JsFileLintSummary; } class JsLinterSummary { constructor(totalFiles: number, filesWithIssues: number, totalIssues: number, errorCount: number, warningCount: number, infoCount: number, fileIssues: Array, executedLinters: Array); get totalFiles(): number; get filesWithIssues(): number; get totalIssues(): number; get errorCount(): number; get warningCount(): number; get infoCount(): number; get fileIssues(): Array; get executedLinters(): Array; copy(totalFiles?: number, filesWithIssues?: number, totalIssues?: number, errorCount?: number, warningCount?: number, infoCount?: number, fileIssues?: Array, executedLinters?: Array): cc.unitmesh.agent.linter.JsLinterSummary; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsLinterSummary.$metadata$ { const constructor: abstract new () => JsLinterSummary; } namespace JsLinterSummary { abstract class Companion extends KtSingleton() { private constructor(); } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace Companion.$metadata$ { abstract class constructor { format(linterSummary: cc.unitmesh.agent.linter.JsLinterSummary): string; private constructor(); } } } class JsLintIssue { constructor(line: number, column: number, severity: string, message: string, rule?: Nullable, suggestion?: Nullable, filePath?: Nullable); get line(): number; get column(): number; get severity(): string; get message(): string; get rule(): Nullable; get suggestion(): Nullable; get filePath(): Nullable; copy(line?: number, column?: number, severity?: string, message?: string, rule?: Nullable, suggestion?: Nullable, filePath?: Nullable): cc.unitmesh.agent.linter.JsLintIssue; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsLintIssue.$metadata$ { const constructor: abstract new () => JsLintIssue; } class JsLintResult { constructor(filePath: string, issues: Array, success: boolean, errorMessage: Nullable | undefined, linterName: string); get filePath(): string; get issues(): Array; get success(): boolean; get errorMessage(): Nullable; get linterName(): string; get hasIssues(): boolean; get errorCount(): number; get warningCount(): number; copy(filePath?: string, issues?: Array, success?: boolean, errorMessage?: Nullable, linterName?: string): cc.unitmesh.agent.linter.JsLintResult; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsLintResult.$metadata$ { const constructor: abstract new () => JsLintResult; } class JsAILinterFactory { constructor(projectPath: string, llmService: any/* cc.unitmesh.llm.KoogLLMService */); createLinter(linterName: string): Nullable; createAvailableLinters(): Promise>; createLintersForFiles(filePaths: Array): Promise>; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsAILinterFactory.$metadata$ { const constructor: abstract new () => JsAILinterFactory; } class JsAILinter { constructor(linter: any/* cc.unitmesh.agent.linter.AILinter */); get name(): string; get description(): string; get supportedExtensions(): Array; isAvailable(): Promise; lintFile(filePath: string, projectPath: string): Promise; lintFiles(filePaths: Array, projectPath: string): Promise>; getInstallationInstructions(): string; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsAILinter.$metadata$ { const constructor: abstract new () => JsAILinter; } } export declare namespace cc.unitmesh.agent.subagent { class JsErrorContext { constructor(command: string, errorMessage: string, exitCode?: Nullable, stdout?: Nullable, stderr?: Nullable); get command(): string; get errorMessage(): string; get exitCode(): Nullable; get stdout(): Nullable; get stderr(): Nullable; toCommon(): any/* cc.unitmesh.agent.subagent.ErrorContext */; copy(command?: string, errorMessage?: string, exitCode?: Nullable, stdout?: Nullable, stderr?: Nullable): cc.unitmesh.agent.subagent.JsErrorContext; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsErrorContext.$metadata$ { const constructor: abstract new () => JsErrorContext; } class JsAnalysisContext { constructor(content: string, contentType?: string, source?: string, metadata?: kotlin.collections.KtMap); get content(): string; get contentType(): string; get source(): string; get metadata(): kotlin.collections.KtMap; toCommon(): any/* cc.unitmesh.agent.subagent.ContentHandlerContext */; copy(content?: string, contentType?: string, source?: string, metadata?: kotlin.collections.KtMap): cc.unitmesh.agent.subagent.JsAnalysisContext; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsAnalysisContext.$metadata$ { const constructor: abstract new () => JsAnalysisContext; } class JsErrorRecoveryAgent { constructor(projectPath: string, llmService: any/* cc.unitmesh.llm.KoogLLMService */); execute(errorContext: cc.unitmesh.agent.subagent.JsErrorContext): Promise; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsErrorRecoveryAgent.$metadata$ { const constructor: abstract new () => JsErrorRecoveryAgent; } class JsAnalysisAgent { constructor(llmService: any/* cc.unitmesh.llm.KoogLLMService */, contentThreshold?: number); execute(context: cc.unitmesh.agent.subagent.JsAnalysisContext): Promise; needsHandling(content: string): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsAnalysisAgent.$metadata$ { const constructor: abstract new () => JsAnalysisAgent; } } export declare namespace cc.unitmesh.agent.ui { abstract class ColorSystem extends KtSingleton() { private constructor(); } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace ColorSystem.$metadata$ { abstract class constructor { get indigoScale(): any; get cyanScale(): any; get neutralScale(): any; get greenScale(): any; get amberScale(): any; get redScale(): any; get blueScale(): any; get lightTheme(): any/* cc.unitmesh.agent.ui.ColorTheme */; get darkTheme(): any/* cc.unitmesh.agent.ui.ColorTheme */; private constructor(); } } } export declare namespace cc.unitmesh.devins.filesystem { class JsFileSystemFactory { constructor(); } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsFileSystemFactory.$metadata$ { const constructor: abstract new () => JsFileSystemFactory; } namespace JsFileSystemFactory { abstract class Companion extends KtSingleton() { private constructor(); } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace Companion.$metadata$ { abstract class constructor { createFileSystem(projectPath: string): any/* cc.unitmesh.devins.filesystem.DefaultFileSystem */; createEmptyFileSystem(): any/* cc.unitmesh.devins.filesystem.EmptyFileSystem */; private constructor(); } } } class FileSystem { constructor(projectPath: string); getProjectPath(): Nullable; readFile(path: string): Nullable; writeFile(path: string, content: string): boolean; exists(path: string): boolean; isDirectory(path: string): boolean; listFiles(path: string, pattern?: Nullable): Array; searchFiles(pattern: string, maxDepth?: number, maxResults?: number): Array; resolvePath(relativePath: string): string; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace FileSystem.$metadata$ { const constructor: abstract new () => FileSystem; } } export declare namespace cc.unitmesh.llm { class JsKoogLLMService { constructor(config: cc.unitmesh.llm.JsModelConfig, compressionConfig?: Nullable); streamPrompt(userPrompt: string, historyMessages: Array | undefined, onChunk: (p0: string) => void, onError?: Nullable<(p0: Error) => void>, onComplete?: Nullable<() => void>, compileDevIns?: boolean): Promise; sendPrompt(prompt: string): Promise; getMaxTokens(): number; getLastTokenInfo(): cc.unitmesh.llm.JsTokenInfo; resetCompressionState(): void; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsKoogLLMService.$metadata$ { const constructor: abstract new () => JsKoogLLMService; } namespace JsKoogLLMService { abstract class Companion extends KtSingleton() { private constructor(); } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace Companion.$metadata$ { abstract class constructor { create(config: cc.unitmesh.llm.JsModelConfig, compressionConfig?: Nullable): cc.unitmesh.llm.JsKoogLLMService; private constructor(); } } } class JsModelConfig { constructor(providerName: string, modelName: string, apiKey?: string, temperature?: number, maxTokens?: number, baseUrl?: string); get providerName(): string; get modelName(): string; get apiKey(): string; get temperature(): number; get maxTokens(): number; get baseUrl(): string; toKotlinConfig(): any/* cc.unitmesh.llm.ModelConfig */; copy(providerName?: string, modelName?: string, apiKey?: string, temperature?: number, maxTokens?: number, baseUrl?: string): cc.unitmesh.llm.JsModelConfig; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsModelConfig.$metadata$ { const constructor: abstract new () => JsModelConfig; } class JsMessage { constructor(role: string, content: string); get role(): string; get content(): string; toKotlinMessage(): any/* cc.unitmesh.devins.llm.Message */; copy(role?: string, content?: string): cc.unitmesh.llm.JsMessage; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsMessage.$metadata$ { const constructor: abstract new () => JsMessage; } class JsNamedModelConfig { constructor(name: string, providerName: string, modelName: string, apiKey?: string, temperature?: number, maxTokens?: number, baseUrl?: string); get name(): string; get providerName(): string; get modelName(): string; get apiKey(): string; get temperature(): number; get maxTokens(): number; get baseUrl(): string; toKotlin(): any/* cc.unitmesh.llm.NamedModelConfig */; copy(name?: string, providerName?: string, modelName?: string, apiKey?: string, temperature?: number, maxTokens?: number, baseUrl?: string): cc.unitmesh.llm.JsNamedModelConfig; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsNamedModelConfig.$metadata$ { const constructor: abstract new () => JsNamedModelConfig; } namespace JsNamedModelConfig { abstract class Companion extends KtSingleton() { private constructor(); } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace Companion.$metadata$ { abstract class constructor { fromKotlin(config: any/* cc.unitmesh.llm.NamedModelConfig */): cc.unitmesh.llm.JsNamedModelConfig; private constructor(); } } } class JsResult { constructor(success: boolean, value: string, error: Nullable); get success(): boolean; get value(): string; get error(): Nullable; copy(success?: boolean, value?: string, error?: Nullable): cc.unitmesh.llm.JsResult; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsResult.$metadata$ { const constructor: abstract new () => JsResult; } abstract class JsModelRegistry extends KtSingleton() { private constructor(); } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsModelRegistry.$metadata$ { abstract class constructor { getAvailableModels(providerName: string): Array; getAllProviders(): Array; private constructor(); } } class JsCompletionManager { constructor(); initWorkspace(workspacePath: string): Promise; getCompletions(text: string, cursorPosition: number): Array; applyCompletion(text: string, cursorPosition: number, completionIndex: number): Nullable; shouldTrigger(char: string): boolean; getSupportedTriggers(): Array; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsCompletionManager.$metadata$ { const constructor: abstract new () => JsCompletionManager; } class JsCompletionItem { constructor(text: string, displayText: string, description: Nullable, icon: Nullable, triggerType: string, index: number); get text(): string; get displayText(): string; get description(): Nullable; get icon(): Nullable; get triggerType(): string; get index(): number; copy(text?: string, displayText?: string, description?: Nullable, icon?: Nullable, triggerType?: string, index?: number): cc.unitmesh.llm.JsCompletionItem; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsCompletionItem.$metadata$ { const constructor: abstract new () => JsCompletionItem; } class JsInsertResult { constructor(newText: string, newCursorPosition: number, shouldTriggerNextCompletion: boolean); get newText(): string; get newCursorPosition(): number; get shouldTriggerNextCompletion(): boolean; copy(newText?: string, newCursorPosition?: number, shouldTriggerNextCompletion?: boolean): cc.unitmesh.llm.JsInsertResult; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsInsertResult.$metadata$ { const constructor: abstract new () => JsInsertResult; } class JsDevInsCompiler { constructor(); compile(source: string, variables?: any): Promise; compileToString(source: string): Promise; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsDevInsCompiler.$metadata$ { const constructor: abstract new () => JsDevInsCompiler; } class JsDevInsResult { constructor(success: boolean, output: string, errorMessage: Nullable, hasCommand: boolean); get success(): boolean; get output(): string; get errorMessage(): Nullable; get hasCommand(): boolean; copy(success?: boolean, output?: string, errorMessage?: Nullable, hasCommand?: boolean): cc.unitmesh.llm.JsDevInsResult; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsDevInsResult.$metadata$ { const constructor: abstract new () => JsDevInsResult; } class JsToolRegistry { constructor(projectPath: string); readFile(path: string, startLine?: Nullable, endLine?: Nullable): Promise; writeFile(path: string, content: string, createDirectories?: boolean): Promise; glob(pattern: string, path?: string, includeFileInfo?: boolean): Promise; grep(pattern: string, path?: string, include?: Nullable, exclude?: Nullable, recursive?: boolean, caseSensitive?: boolean): Promise; shell(command: string, workingDirectory?: Nullable, timeoutMs?: number): Promise; getAvailableTools(): Array; getAgentTools(): Array; formatToolListForAI(): string; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsToolRegistry.$metadata$ { const constructor: abstract new () => JsToolRegistry; } class JsToolResult { constructor(success: boolean, output: string, errorMessage: Nullable, metadata: kotlin.collections.KtMap); get success(): boolean; get output(): string; get errorMessage(): Nullable; get metadata(): kotlin.collections.KtMap; copy(success?: boolean, output?: string, errorMessage?: Nullable, metadata?: kotlin.collections.KtMap): cc.unitmesh.llm.JsToolResult; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsToolResult.$metadata$ { const constructor: abstract new () => JsToolResult; } class JsAgentTool { constructor(name: string, description: string, example: string); get name(): string; get description(): string; get example(): string; copy(name?: string, description?: string, example?: string): cc.unitmesh.llm.JsAgentTool; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsAgentTool.$metadata$ { const constructor: abstract new () => JsAgentTool; } abstract class JsDocumentParserFactory extends KtSingleton() { private constructor(); } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsDocumentParserFactory.$metadata$ { abstract class constructor { createParserForFile(filePath: string): Nullable/* Nullable */; private constructor(); } } abstract class JsDocumentRegistry extends KtSingleton() { private constructor(); } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsDocumentRegistry.$metadata$ { abstract class constructor { initializePlatformParsers(): void; getParserForFile(filePath: string): Nullable/* Nullable */; private constructor(); } } class JsCompressionConfig { constructor(contextPercentageThreshold?: number, preserveRecentRatio?: number, autoCompressionEnabled?: boolean, retryAfterMessages?: number); get contextPercentageThreshold(): number; get preserveRecentRatio(): number; get autoCompressionEnabled(): boolean; get retryAfterMessages(): number; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsCompressionConfig.$metadata$ { const constructor: abstract new () => JsCompressionConfig; } class JsTokenInfo { constructor(totalTokens?: number, inputTokens?: number, outputTokens?: number, timestamp?: number); get totalTokens(): number; get inputTokens(): number; get outputTokens(): number; get timestamp(): number; getUsagePercentage(maxTokens: number): number; needsCompression(maxTokens: number, threshold: number): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsTokenInfo.$metadata$ { const constructor: abstract new () => JsTokenInfo; } namespace JsTokenInfo { abstract class Companion extends KtSingleton() { private constructor(); } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace Companion.$metadata$ { abstract class constructor { private constructor(); } } } class JsChatCompressionInfo { constructor(originalTokenCount: number, newTokenCount: number, compressionStatus: string, errorMessage?: Nullable); get originalTokenCount(): number; get newTokenCount(): number; get compressionStatus(): string; get errorMessage(): Nullable; getCompressionRatio(): number; getTokensSaved(): number; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsChatCompressionInfo.$metadata$ { const constructor: abstract new () => JsChatCompressionInfo; } namespace JsChatCompressionInfo { abstract class Companion extends KtSingleton() { private constructor(); } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace Companion.$metadata$ { abstract class constructor { private constructor(); } } } class JsDomainDictGenerator { constructor(projectPath: string, modelConfig: cc.unitmesh.llm.JsModelConfig, maxTokenLength?: number); generate(): Promise; generateAndSave(): Promise; exists(): Promise; loadContent(): Promise>; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsDomainDictGenerator.$metadata$ { const constructor: abstract new () => JsDomainDictGenerator; } class JsDomainDictResult { constructor(success: boolean, content: string, errorMessage: Nullable); get success(): boolean; get content(): string; get errorMessage(): Nullable; copy(success?: boolean, content?: string, errorMessage?: Nullable): cc.unitmesh.llm.JsDomainDictResult; toString(): string; hashCode(): number; equals(other: Nullable): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsDomainDictResult.$metadata$ { const constructor: abstract new () => JsDomainDictResult; } class JsDomainDictService { constructor(fileSystem: any/* cc.unitmesh.devins.filesystem.DefaultFileSystem */); loadContent(): Promise>; exists(): boolean; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsDomainDictService.$metadata$ { const constructor: abstract new () => JsDomainDictService; } class JsPromptEnhancer { constructor(llmService: any/* cc.unitmesh.llm.KoogLLMService */, fileSystem: any/* cc.unitmesh.devins.filesystem.DefaultFileSystem */, jsDomainDictService: cc.unitmesh.llm.JsDomainDictService); enhance(userInput: string, language: string): Promise; } /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */ namespace JsPromptEnhancer.$metadata$ { const constructor: abstract new () => JsPromptEnhancer; } function createPromptEnhancer(llmService: any/* cc.unitmesh.llm.KoogLLMService */, fileSystem: any/* cc.unitmesh.devins.filesystem.DefaultFileSystem */, jsDomainDictService: cc.unitmesh.llm.JsDomainDictService): cc.unitmesh.llm.JsPromptEnhancer; } export as namespace cc_unitmesh_mpp_core;