import * as react_jsx_runtime from 'react/jsx-runtime';
import * as React from 'react';
import { MarkdownStylesMap } from '@page-speed/markdown-to-jsx';
import { S as SectionBackground, s as SectionSpacing, t as PatternName } from './community-initiatives--8cXayNa.js';
import { O as OptixFlowConfig } from './blocks-DCvdF54D.js';
import 'class-variance-authority';
import '@page-speed/pressable';
import '@opensite/hooks/usePlatformFromUrl';

interface ArticleCompactTocSection {
    id: string;
    title: string;
}
interface BreadcrumbItemConfig {
    label: string;
    href: string;
}
interface ArticleCompactTocProps {
    /**
     * Additional CSS classes for the section
     */
    className?: string;
    /**
     * Additional CSS classes for the container
     */
    containerClassName?: string;
    /**
     * Additional CSS classes for the breadcrumb
     */
    breadcrumbClassName?: string;
    /**
     * Additional CSS classes for the content wrapper
     */
    contentClassName?: string;
    /**
     * Additional CSS classes for the title
     */
    titleClassName?: string;
    /**
     * Additional CSS classes for the meta info
     */
    metaClassName?: string;
    /**
     * Additional CSS classes for the TOC
     */
    tocClassName?: string;
    /**
     * Additional CSS classes for the article content
     */
    articleClassName?: string;
    /**
     * Additional CSS classes for the hero image
     */
    heroImageClassName?: string;
    /**
     * Breadcrumb navigation items
     */
    breadcrumbs?: BreadcrumbItemConfig[];
    /**
     * Custom slot for rendering breadcrumbs (overrides breadcrumbs array)
     */
    breadcrumbsSlot?: React.ReactNode;
    /**
     * Current page name in breadcrumb
     */
    currentPage?: React.ReactNode;
    /**
     * Article title
     */
    title?: React.ReactNode;
    /**
     * Article summary/description
     */
    description?: string;
    /**
     * Author name
     */
    authorName?: React.ReactNode;
    /**
     * Author profile href
     */
    authorHref?: string;
    /**
     * Publish date string
     */
    publishDate?: React.ReactNode;
    /**
     * Read time string
     */
    readTime?: React.ReactNode;
    /**
     * TOC sections array
     */
    sections?: ArticleCompactTocSection[];
    /**
     * Custom slot for TOC (overrides sections array)
     */
    tocSlot?: React.ReactNode;
    /**
     * Render callback for section links (overrides default rendering)
     */
    renderSectionLink?: (section: ArticleCompactTocSection, isActive: boolean) => React.ReactNode;
    /**
     * Hero image source URL
     */
    heroImageSrc?: string;
    /**
     * Hero image alt text
     */
    heroImageAlt?: string;
    /**
     * Custom slot for hero media (overrides heroImageSrc)
     */
    heroMediaSlot?: React.ReactNode;
    /**
     * Article body content (replaces hardcoded prose)
     */
    children?: React.ReactNode;
    /**
     * Render mode for content
     * @default "jsx"
     */
    renderMode?: "jsx" | "markdown";
    /**
     * Markdown string to render (when renderMode is "markdown")
     */
    markdownString?: string;
    /**
     * Custom className mappings for markdown elements
     * @example { h2: 'text-3xl font-bold', img: 'rounded-lg shadow-md' }
     */
    markdownStyles?: MarkdownStylesMap;
    /**
     * Enable scroll-based section tracking
     * @default true
     */
    enableTocTracking?: boolean;
    /**
     * OptixFlow image optimization configuration
     */
    optixFlowConfig?: OptixFlowConfig;
    /**
     * Background style for the section
     */
    background?: SectionBackground;
    /**
     * Vertical spacing for the section
     */
    spacing?: SectionSpacing;
    /**
     * Background pattern
     */
    pattern?: PatternName;
    /**
     * Pattern opacity (0-1)
     */
    patternOpacity?: number;
    /**
     * Additional CSS classes for the pattern overlay
     */
    patternClassName?: string;
    /** Optional Section ID */
    sectionId?: string;
}
declare function ArticleCompactTocComponent({ sectionId, className, breadcrumbClassName, contentClassName, titleClassName, metaClassName, tocClassName, articleClassName, heroImageClassName, breadcrumbs, breadcrumbsSlot, currentPage, title, authorName, authorHref, publishDate, readTime, sections, tocSlot, renderSectionLink, description, heroImageSrc, heroImageAlt, heroMediaSlot, children, renderMode, markdownString, markdownStyles, enableTocTracking, optixFlowConfig, background, containerClassName, spacing, pattern, patternOpacity, patternClassName, }: ArticleCompactTocProps): react_jsx_runtime.JSX.Element;

export { ArticleCompactTocComponent as ArticleCompactToc, type ArticleCompactTocProps, type ArticleCompactTocSection };
