/************************************************************************************************* 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, Image, ClientRegistry, Collector } from "@boundaryml/baml"; import type { RecursivePartialNull as MovedRecursivePartialNull } from "./types"; import type { BugFailureClassification, CheckNoContext, MisalignmentClassification, PartialRecipe, TestStep } from "./types"; import type TypeBuilder from "./type_builder"; import { HttpRequest, HttpStreamRequest } from "./sync_request"; import { LlmResponseParser, LlmStreamParser } from "./parser"; /** * @deprecated Use RecursivePartialNull from 'baml_client/types' instead. * Example: * ```ts * import { RecursivePartialNull } from './baml_client/types' * ``` */ export type RecursivePartialNull = MovedRecursivePartialNull; type BamlCallOptions = { tb?: TypeBuilder; clientRegistry?: ClientRegistry; collector?: Collector | Collector[]; }; export declare class BamlSyncClient { private runtime; private ctxManager; private bamlOptions?; private httpRequest; private httpStreamRequest; private llmResponseParser; private llmStreamParser; private bamlOptions; constructor(runtime: BamlRuntime, ctxManager: BamlCtxManager, bamlOptions?: BamlCallOptions | undefined); withOptions(bamlOptions: BamlCallOptions): BamlSyncClient; get stream(): void; get request(): HttpRequest; get streamRequest(): HttpStreamRequest; get parse(): LlmResponseParser; get parseStream(): LlmStreamParser; ClassifyCheckFailure(screenshot: Image, check: string, previousActions: string[], __baml_options__?: BamlCallOptions): BugFailureClassification | MisalignmentClassification; CreatePartialRecipe(screenshot: Image, step: TestStep, previousActions: string[], __baml_options__?: BamlCallOptions): PartialRecipe; EvaluateCheck(screenshot: Image, check: string, __baml_options__?: BamlCallOptions): string; LocateTarget(screenshot: Image, target: string, __baml_options__?: BamlCallOptions): string; RemoveImplicitCheckContext(screenshot: Image, check: string, previousActions: string[], __baml_options__?: BamlCallOptions): CheckNoContext; } export declare const b: BamlSyncClient; export {};