import type { BaseMessage } from '@langchain/core/messages'; import type { Logger } from '@n8n/backend-common'; import { z } from 'zod'; import type { BuilderToolBase } from '../utils/stream-processor'; export interface IntrospectionEvent { timestamp: string; category: string; issue: string; source?: string; } export declare function extractIntrospectionEventsFromMessages(messages: BaseMessage[]): IntrospectionEvent[]; export declare const INTROSPECT_TOOL: BuilderToolBase; export declare function createIntrospectTool(logger?: Logger): { toolName: string; displayTitle: string; getCustomDisplayTitle?: (values: Record) => string; tool: import("@langchain/core/tools").DynamicStructuredTool; source: z.ZodOptional; }, "strip", z.ZodTypeAny, { issue: string; category: "conflicting_instructions" | "incomplete_example" | "missing_guidance" | "other" | "unclear_node_description"; source?: string | undefined; }, { issue: string; category: "conflicting_instructions" | "incomplete_example" | "missing_guidance" | "other" | "unclear_node_description"; source?: string | undefined; }>, { issue: string; category: "conflicting_instructions" | "incomplete_example" | "missing_guidance" | "other" | "unclear_node_description"; source?: string | undefined; }, { issue: string; category: "conflicting_instructions" | "incomplete_example" | "missing_guidance" | "other" | "unclear_node_description"; source?: string | undefined; }, import("@langchain/langgraph").Command, string>, unknown, string>; };