import { StructuredTool } from '@langchain/core/tools'; import type { ToolRunnableConfig } from '@langchain/core/tools'; import type { z } from 'zod'; import type { LivingMemorySearchResult } from '../../../contracts/memory'; import type { LivingMemorySearchProvider } from '../../../contracts/workflows'; import { memorySearchTool } from '../../prompts/memory_tools'; export declare class LivingMemorySearchTool extends StructuredTool { private readonly searchProvider; private readonly includeMemoryIds; private readonly enableConversationIsolation; name: string; schema: z.ZodObject<{ searchTexts: z.ZodArray; searchKeywords: z.ZodOptional>; }, "strip", z.ZodTypeAny, { searchTexts: string[]; searchKeywords?: string[] | undefined; }, { searchTexts: string[]; searchKeywords?: string[] | undefined; }>; description: string; constructor(searchProvider: LivingMemorySearchProvider, includeMemoryIds: boolean, enableConversationIsolation?: boolean); runSearch(input: z.infer, runConfig?: ToolRunnableConfig): Promise<{ results: LivingMemorySearchResult[]; output: string; }>; _call(input: z.infer, _runManager: unknown, runConfig?: ToolRunnableConfig): Promise; private formatResults; }