import React from 'react'; import type { ChangelogEntry } from '../../types/product-release'; interface ReleaseChangelogSectionProps { title: string; entries: ChangelogEntry[]; isBreaking?: boolean; hideTitle?: boolean; /** When true, section starts collapsed and can be toggled open/closed * via a button on the title row. Mutually exclusive with `previewFirst`. */ collapsible?: boolean; /** Initial collapsed state (only used when collapsible=true). Defaults to true (collapsed). */ defaultCollapsed?: boolean; /** When true, render the first entry in full and fade-mask the rest * with a "Show N more / Show less" toggle below the list. Hides the * fade + toggle when there's only one entry. Mutually exclusive with * `collapsible` — when both are passed, `collapsible` wins. * * This is the same progressive-disclosure pattern used on the * investor-update detail page's Key Highlights / Financial Notes * sections (formerly a duplicated `FadedHighlightSection` component * in the hub — unified here). */ previewFirst?: boolean; /** Optional lucide icon rendered inline before the title text. Matches the * catalog card's changelog-strip icons (Sparkles for Features, Wrench for * Fixes, TrendingUp for Improvements, AlertTriangle for Breaking) — same * visual taxonomy across catalog and detail. Inherits the title's color * (secondary for normal sections, red for breaking). */ icon?: React.ReactNode; /** Markdown renderer for each entry's description. Optional — defaults to * the lib's `RichMarkdownRenderer` so changelog rich-link previews * (YouTube, OG cards, etc.) work out of the box. Hosts that already * wrap with a Supabase-aware preset can keep passing their own. */ MarkdownRenderer?: React.ComponentType<{ content: string; }>; } export declare function ReleaseChangelogSection({ title, entries, isBreaking, hideTitle, collapsible, defaultCollapsed, previewFirst, icon, MarkdownRenderer, }: ReleaseChangelogSectionProps): React.JSX.Element | null; export {}; //# sourceMappingURL=release-changelog-section.d.ts.map