import { z } from 'zod';
import { MemoryStorage } from '../../storage/storage.js';
/**
 * Search memories by semantic similarity
 *
 * @param storage - Memory storage instance
 * @returns MCP tool handler for searching memories
 */
export declare function createSearchMemoriesTool(storage: MemoryStorage): {
    name: string;
    description: string;
    inputSchema: {
        query: z.ZodString;
        limit: z.ZodOptional<z.ZodNumber>;
        threshold: z.ZodOptional<z.ZodNumber>;
        category: z.ZodOptional<z.ZodString>;
    };
    handler: ({ query, limit, threshold, category }: {
        query: string;
        limit?: number;
        threshold?: number;
        category?: string;
    }) => Promise<{
        content: {
            type: "text";
            text: string;
        }[];
        isError: boolean;
    } | {
        content: {
            type: "text";
            text: string;
        }[];
        isError?: undefined;
    }>;
};
