import { z } from "zod"; import { BaseOutputParser, FormatInstructionsOptions } from "../schema/output_parser.js"; export type JsonMarkdownStructuredOutputParserInput = { interpolationDepth?: number; }; export interface JsonMarkdownFormatInstructionsOptions extends FormatInstructionsOptions { interpolationDepth?: number; } export declare class StructuredOutputParser extends BaseOutputParser> { schema: T; lc_namespace: string[]; toJSON(): import("../load/serializable.js").SerializedNotImplemented; constructor(schema: T); static fromZodSchema(schema: T): StructuredOutputParser; static fromNamesAndDescriptions(schemas: S): StructuredOutputParser>; getFormatInstructions(): string; parse(text: string): Promise>; } export declare class JsonMarkdownStructuredOutputParser extends StructuredOutputParser { getFormatInstructions(options?: JsonMarkdownFormatInstructionsOptions): string; private _schemaToInstruction; static fromZodSchema(schema: T): JsonMarkdownStructuredOutputParser; static fromNamesAndDescriptions(schemas: S): JsonMarkdownStructuredOutputParser>; } export interface AsymmetricStructuredOutputParserFields { inputSchema: T; } export declare abstract class AsymmetricStructuredOutputParser extends BaseOutputParser { private structuredInputParser; constructor({ inputSchema }: AsymmetricStructuredOutputParserFields); abstract outputProcessor(input: z.infer): Promise; parse(text: string): Promise; getFormatInstructions(): string; }