import { BaseMessage } from "../messages/base.js";
import { BaseOutputParser } from "./base.js";
import "../messages/index.js";
import { Callbacks } from "../callbacks/manager.js";
import { ChatGeneration, Generation } from "../outputs.js";
import { StandardSchemaV1 } from "@standard-schema/spec";
export declare class StandardSchemaOutputParser<RunOutput extends Record<string, any> = Record<string, any>> extends BaseOutputParser<RunOutput> {
  static lc_name(): string;
  lc_namespace: string[];
  private readonly schema;
  constructor(schema: StandardSchemaV1<RunOutput>);
  static fromSerializableSchema<RunOutput extends Record<string, any> = Record<string, any>>(schema: StandardSchemaV1<RunOutput>): StandardSchemaOutputParser<RunOutput>;
  /**
   * @throws {ModelRefusalError} If the model refused instead of answering.
   */
  parseResult(generations: Generation[] | ChatGeneration[], callbacks?: Callbacks): Promise<RunOutput>;
  parse(text: string): Promise<RunOutput>;
  protected _baseMessageToString(message: BaseMessage): string;
  getFormatInstructions(): string;
}
//# sourceMappingURL=standard_schema.d.ts.map