import type { Callbacks } from '@langchain/core/callbacks/manager'; import { StructuredOutputParser } from 'langchain/output_parsers'; import type { ISupplyDataFunctions } from 'n8n-workflow'; import { z } from 'zod'; export declare class N8nStructuredOutputParser extends StructuredOutputParser { private context; constructor(context: ISupplyDataFunctions, zodSchema: z.ZodSchema); lc_namespace: string[]; parse(text: string, _callbacks?: Callbacks, errorMapper?: (error: Error) => Error): Promise; static fromZodJsonSchema(zodSchema: z.ZodSchema, nodeVersion: number, context: ISupplyDataFunctions): Promise; getSchema(): any; }