/**
 * Markdown footer for `TradingPortfolio` — the discipline mirror.
 *
 * Shows the last-N trades' average quality score and flags any component
 * that scored below 3.0 (the threshold AI-Trader uses too). The footer
 * is the only place the discipline metric surfaces today; future
 * releases can drop it into the panel Audit tab too.
 *
 * Pure formatting; takes AggregateScore from journal-quality.ts.
 */
import type { TradeLogEntry } from './trade-log.js';
/**
 * Build the discipline footer markdown for an existing portfolio output.
 * Returns `null` when there's nothing to show (no scored entries yet).
 */
export declare function renderDisciplineFooter(entries: TradeLogEntry[]): string | null;
