import { type HandlerCallback, type IAgentRuntime, type Media, type Memory } from "@elizaos/core"; import { type State } from "@elizaos/core"; export declare function processResourceResult(result: { contents: Array<{ uri: string; mimeType?: string; text?: string; blob?: string; }>; }, uri: string): { resourceContent: string; resourceMeta: string; }; export declare function processToolResult(result: { content: Array<{ type: string; text?: string; mimeType?: string; data?: string; resource?: { uri: string; text?: string; blob?: string; }; }>; isError?: boolean; }, serverName: string, toolName: string, runtime: IAgentRuntime, messageEntityId: string): { toolOutput: string; hasAttachments: boolean; attachments: Media[]; }; export declare function handleResourceAnalysis(runtime: IAgentRuntime, message: Memory, uri: string, serverName: string, resourceContent: string, resourceMeta: string, callback?: HandlerCallback): Promise; export declare function handleToolResponse(runtime: IAgentRuntime, message: Memory, serverName: string, toolName: string, toolArgs: Record, toolOutput: string, hasAttachments: boolean, attachments: Media[], state: State, mcpProvider: { values: { mcp: unknown; }; data: { mcp: unknown; }; text: string; }, callback?: HandlerCallback): Promise; export declare function sendInitialResponse(callback?: HandlerCallback): Promise;