/************************************************************************************************* Welcome to Baml! To use this generated code, please run one of the following: $ npm install @boundaryml/baml $ yarn add @boundaryml/baml $ pnpm add @boundaryml/baml *************************************************************************************************/ import type { BamlRuntime, BamlCtxManager, ClientRegistry } from "@boundaryml/baml"; import type { partial_types } from "./partial_types"; import type { BugFailureClassification, CheckNoContext, MisalignmentClassification, PartialRecipe } from "./types"; import type TypeBuilder from "./type_builder"; export declare class LlmResponseParser { private runtime; private ctxManager; constructor(runtime: BamlRuntime, ctxManager: BamlCtxManager); ClassifyCheckFailure(llmResponse: string, __baml_options__?: { tb?: TypeBuilder; clientRegistry?: ClientRegistry; }): BugFailureClassification | MisalignmentClassification; CreatePartialRecipe(llmResponse: string, __baml_options__?: { tb?: TypeBuilder; clientRegistry?: ClientRegistry; }): PartialRecipe; EvaluateCheck(llmResponse: string, __baml_options__?: { tb?: TypeBuilder; clientRegistry?: ClientRegistry; }): string; LocateTarget(llmResponse: string, __baml_options__?: { tb?: TypeBuilder; clientRegistry?: ClientRegistry; }): string; RemoveImplicitCheckContext(llmResponse: string, __baml_options__?: { tb?: TypeBuilder; clientRegistry?: ClientRegistry; }): CheckNoContext; } export declare class LlmStreamParser { private runtime; private ctxManager; constructor(runtime: BamlRuntime, ctxManager: BamlCtxManager); ClassifyCheckFailure(llmResponse: string, __baml_options__?: { tb?: TypeBuilder; clientRegistry?: ClientRegistry; }): ((partial_types.BugFailureClassification | null) | (partial_types.MisalignmentClassification | null)); CreatePartialRecipe(llmResponse: string, __baml_options__?: { tb?: TypeBuilder; clientRegistry?: ClientRegistry; }): partial_types.PartialRecipe; EvaluateCheck(llmResponse: string, __baml_options__?: { tb?: TypeBuilder; clientRegistry?: ClientRegistry; }): string; LocateTarget(llmResponse: string, __baml_options__?: { tb?: TypeBuilder; clientRegistry?: ClientRegistry; }): string; RemoveImplicitCheckContext(llmResponse: string, __baml_options__?: { tb?: TypeBuilder; clientRegistry?: ClientRegistry; }): partial_types.CheckNoContext; }