/************************************************************************************************* 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 *************************************************************************************************/ /** * Recursively partial type that can be null. * * @deprecated Use types from the `partial_types` namespace instead, which provides type-safe partial implementations * @template T The type to make recursively partial. */ export type RecursivePartialNull = T extends object ? { [P in keyof T]?: RecursivePartialNull; } : T | null; export interface Checked { value: T; checks: Record; } export interface Check { name: string; expr: string; status: "succeeded" | "failed"; } export declare function all_succeeded(checks: Record): boolean; export declare function get_checks(checks: Record): Check[]; export interface BugFailureClassification { classification: "bug"; title: string; expectedResult: string; actualResult: string; severity: "critical" | "high" | "medium" | "low"; } export interface CheckIngredient { variant: "check"; description: string; } export interface CheckNoContext { reasoning: string; should_pass: boolean; check: string; } export interface ClickIngredient { variant: "click"; target: string; } export interface MisalignmentClassification { classification: "misalignment"; fault: "test" | "agent"; message: string; } export interface PartialRecipe { reasoning: string; actions: (ClickIngredient | TypeIngredient | ScrollIngredient)[]; finished: boolean; } export interface ScrollIngredient { variant: "scroll"; target: string; deltaX: number; deltaY: number; } export interface TestCase { url: string; steps: TestStep[]; } export interface TestData { data?: TestDataEntry[] | null; other?: string | null; } export interface TestDataEntry { key: string; value: string; sensitive: boolean; } export interface TestStep { description: string; checks: string[]; testData: TestData; } export interface TypeIngredient { variant: "type"; target: string; content: string; }