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-Dud0DKXB.js';
import { j as SocialLinkItem, A as ActionConfig, O as OptixFlowConfig } from './blocks-DyouPohq.js';
import 'class-variance-authority';
import '@page-speed/pressable';
import '@opensite/hooks/usePlatformFromUrl';

interface ArticleChapter {
    id: string;
    number: number;
    title: string;
}
interface ArticleAuthor {
    name?: string;
    role?: string;
    image?: string;
    bio?: string;
    socialLinks?: SocialLinkItem[] | {
        twitter?: string;
        linkedin?: string;
        github?: string;
    };
}
type ArticleAuthorConfig = ArticleAuthor;
interface BreadcrumbItemConfig {
    label: string;
    href: string;
}
interface ArticleChaptersAuthorProps {
    /**
     * 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 header section
     */
    headerClassName?: string;
    /**
     * Additional CSS classes for the title
     */
    titleClassName?: string;
    /**
     * Additional CSS classes for the subtitle
     */
    subtitleClassName?: string;
    /**
     * Additional CSS classes for the sidebar
     */
    sidebarClassName?: string;
    /**
     * Additional CSS classes for the article content
     */
    articleClassName?: string;
    /**
     * Additional CSS classes for the chapters nav
     */
    chaptersClassName?: string;
    /**
     * Additional CSS classes for the author card
     */
    authorClassName?: string;
    /**
     * Additional CSS classes for the conclusion section
     */
    conclusionClassName?: 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 subtitle
     */
    subtitle?: React.ReactNode;
    /**
     * Chapter navigation items
     */
    chapters?: ArticleChapter[];
    /**
     * Custom slot for rendering chapters nav (overrides chapters array)
     */
    chaptersSlot?: React.ReactNode;
    /**
     * Render callback for chapter links (overrides default rendering)
     */
    renderChapterLink?: (chapter: ArticleChapter, isActive: boolean) => React.ReactNode;
    /**
     * Author configuration
     */
    author?: ArticleAuthorConfig;
    /**
     * Custom slot for rendering author info (overrides author config)
     */
    authorSlot?: React.ReactNode;
    /**
     * Hero image source URL
     */
    heroImageSrc?: string;
    /**
     * Hero image alt text
     */
    heroImageAlt?: string;
    /**
     * Custom slot for hero media (overrides heroImageSrc)
     */
    heroMediaSlot?: React.ReactNode;
    /**
     * Conclusion section title
     */
    conclusionTitle?: React.ReactNode;
    /**
     * Conclusion section description
     */
    conclusionDescription?: React.ReactNode;
    /**
     * Conclusion CTA actions
     */
    conclusionActions?: ActionConfig[];
    /**
     * Custom slot for conclusion section (overrides conclusion props)
     */
    conclusionSlot?: React.ReactNode;
    /**
     * Markdown string to render
     */
    markdownString?: string;
    /**
     * Custom className mappings for markdown elements
     * @example { h2: 'text-3xl font-bold', img: 'rounded-lg shadow-md' }
     */
    markdownStyles?: MarkdownStylesMap;
    /**
     * Enable scroll-based chapter tracking
     * @default true
     */
    enableChapterTracking?: 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 ArticleChaptersAuthorComponent({ sectionId, className, breadcrumbClassName, headerClassName, titleClassName, subtitleClassName, sidebarClassName, articleClassName, chaptersClassName, authorClassName, conclusionClassName, heroImageClassName, breadcrumbs, breadcrumbsSlot, currentPage, title, subtitle, chapters, chaptersSlot, renderChapterLink, author, authorSlot, heroImageSrc, heroImageAlt, heroMediaSlot, conclusionTitle, conclusionDescription, conclusionActions, conclusionSlot, markdownString, markdownStyles, enableChapterTracking, optixFlowConfig, background, containerClassName, spacing, patternClassName, pattern, patternOpacity, }: ArticleChaptersAuthorProps): react_jsx_runtime.JSX.Element;

export { type ArticleAuthor, type ArticleChapter, ArticleChaptersAuthorComponent as ArticleChaptersAuthor, type ArticleChaptersAuthorProps };
