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