import { PromptminConfig } from "../config/loadConfig.js"; export type BudgetState = { maxRuns: number; startedAt: number; maxMillis: number; runsUsed: number; }; export declare function createBudgetState(params: { maxRuns: number; startedAt: number; maxMillis: number; }): BudgetState; export type StabilityConfig = { mode: "off"; } | { mode: "strict"; n: number; } | { mode: "kofn"; n: number; k: number; }; export type TestEvalResult = { id: string; ok: boolean; reason: string; failures: number; trials: number; }; export type EvalResult = { isFail: boolean; failingTests: { id: string; reason: string; }[]; totalRuns: number; stability: { mode: "off" | "strict" | "kofn"; n: number; k: number; }; testResults: TestEvalResult[]; }; export declare function evaluateTarget(params: { config: PromptminConfig; promptText: string; promptFile?: string; promptHint: string; outDirAbs: string; targetSelector: string; tracePath: string | null; budget: BudgetState; verbose: boolean; cache?: { enabled: boolean; dirAbs: string; }; stability?: StabilityConfig; }): Promise;