/**
 * Helpers used only by the Settlement / SettlementSummary surface to parse and
 * normalize settlement-related text (event description, market description,
 * primary rules). Not intended for use elsewhere.
 */
export type SettlementBlock = {
    kind: "paragraph";
    lines: string[];
} | {
    kind: "list";
    items: string[];
};
export declare const parseSettlementBlocks: (input: string) => SettlementBlock[];
/**
 * Returns the first non-empty paragraph from the input — used by
 * SettlementSummary to show only a teaser of the event description.
 */
export declare const getFirstSettlementParagraph: (input: string | null | undefined) => string;
/** Lower-cased, whitespace-collapsed form used for dedup comparisons. */
export declare const normalizeSettlementForCompare: (input: string) => string;
export type SettlementSourceInput = {
    eventDescription?: string | null;
    marketDescription?: string | null;
    primaryRules?: string | null;
};
export type SettlementSourceKey = "eventDescription" | "marketDescription" | "primaryRules";
export type SettlementSourceBlock = {
    key: SettlementSourceKey;
    content: string;
};
/**
 * Produces the ordered list of non-empty settlement blocks for the Settlement
 * section, dropping any source whose normalized text is identical to a block
 * already included.
 */
export declare const dedupeSettlementSources: (sources: SettlementSourceInput) => SettlementSourceBlock[];
