/**
 * Memory retrieval tools for LLM access to conversation history.
 * Enables the AI to retrieve full tool outputs, review previous messages,
 * and search conversation memory.
 *
 * Follows the createFileTools() factory pattern from files/fileTools.ts.
 * @module
 */
import type { RedisConversationMemoryManager } from "../core/redisConversationMemoryManager.js";
/**
 * Factory function that creates memory retrieval tools bound to a memory manager.
 * @param memoryManager - The Redis conversation memory manager instance
 * @returns Record of tool name to Vercel AI SDK tool definition
 */
export declare function createMemoryRetrievalTools(memoryManager: RedisConversationMemoryManager): {
    retrieve_context: import("ai").Tool<{
        sessionId: string;
        messageId?: string | undefined;
        role?: "system" | "user" | "assistant" | "tool_call" | "tool_result" | undefined;
        lastN?: number | undefined;
        offset?: number | undefined;
        limit?: number | undefined;
        search?: string | undefined;
    }, {
        error: string;
        sessionId: string;
        messageId?: undefined;
        messages?: undefined;
        totalMessages?: undefined;
    } | {
        error: string;
        messageId: string;
        sessionId?: undefined;
        messages?: undefined;
        totalMessages?: undefined;
    } | {
        messages: ({
            id: string;
            error: string;
            role?: undefined;
            tool?: undefined;
            matchCount?: undefined;
            matches?: undefined;
            totalSize?: undefined;
            content?: undefined;
            hasMore?: undefined;
        } | {
            id: string;
            role: "system" | "user" | "assistant" | "tool_call" | "tool_result";
            tool: string | undefined;
            matchCount: number;
            matches: {
                line: number;
                text: string;
            }[];
            totalSize: number;
            error?: undefined;
            content?: undefined;
            hasMore?: undefined;
        } | {
            id: string;
            role: "system" | "user" | "assistant" | "tool_call" | "tool_result";
            tool: string | undefined;
            content: string;
            totalSize: number;
            hasMore: boolean;
            error?: undefined;
            matchCount?: undefined;
            matches?: undefined;
        })[];
        totalMessages: number;
        error?: undefined;
        sessionId?: undefined;
        messageId?: undefined;
    } | {
        error: string;
        sessionId?: undefined;
        messageId?: undefined;
        messages?: undefined;
        totalMessages?: undefined;
    }>;
};
