import { AlignLeft, BarChart3, Images, LayoutGrid, LayoutTemplate, Mail, Megaphone, PanelsTopLeft, Quote, Type, User, } from 'lucide-react';
import { getSectionType } from './section-types.js';
const SECTION_ICONS = {
    'layout-template': LayoutTemplate,
    'align-left': AlignLeft,
    'panels-top-left': PanelsTopLeft,
    'bar-chart-3': BarChart3,
    mail: Mail,
    megaphone: Megaphone,
    text: Type,
    quote: Quote,
    user: User,
    'layout-grid': LayoutGrid,
    images: Images,
};
/** Resolve a lucide icon for a section type id (with a safe fallback). */
export function sectionIconFor(sectionType) {
    const name = getSectionType(sectionType)?.icon;
    return (name && SECTION_ICONS[name]) || LayoutTemplate;
}
//# sourceMappingURL=section-icons.js.map