/**
 * pipeline/pr-comment.ts — Generate a markdown PR comment from
 * `results/latest/score-summary.json` (and an optional comparison-report).
 *
 * Thin wrapper around `@sanity/ailf-core`'s unified renderer (W0150).
 * Reads the local JSON files, applies legacy-field normalization on the
 * scores, builds a `RenderableReport` envelope (so the CLI's
 * `--promptfoo-url` flag flows through `provenance.promptfooUrls[0]`),
 * then delegates rendering.
 *
 * All functions accept `rootDir` as a parameter — no module-level
 * constants. No `process.argv` parsing. No env-var fallbacks.
 */
import { type RenderableReport } from "../_vendor/ailf-core/index.d.ts";
import type { ComparisonReport, ScoreSummary } from "./types.js";
/** Options for the {@link generatePrComment} function. */
export interface PrCommentOptions {
    /** Path to write the comment (default: stdout). */
    outputPath?: string;
    /** Promptfoo share URL to include as the footer "view detailed results" link. */
    promptfooUrl?: string;
    /** Root directory of the eval package. */
    rootDir: string;
}
export declare function generatePrComment(options: PrCommentOptions): void;
/**
 * Adapter: build a {@link RenderableReport} from the in-memory pipeline
 * artifacts. Exposed for the cross-renderer byte-equality contract test.
 */
export declare function scoreSummaryToRenderableReport(summary: ScoreSummary, comparison: ComparisonReport | undefined, options?: {
    promptfooUrl?: string;
}): RenderableReport;
