import React from 'react';
import { type FaqCategoriesServiceConfig, type FaqServiceConfig } from '../services/index.js';
/**
* Props for the FaqCategories root component
*/
export interface FaqCategoriesRootProps {
children: React.ReactNode;
faqCategoriesConfig: FaqCategoriesServiceConfig;
className?: string;
}
/**
* Root component that provides FAQ categories service context and conditional rendering.
* Does not render if there are no categories.
*
* @component
* @example
* ```tsx
* // Default usage
*
*
*
*
*
*
*
*
*
*
*
*
*
* ```
*/
export declare function Root(props: FaqCategoriesRootProps): React.ReactNode;
/**
* Props for FaqCategories Categories component
*/
export interface CategoriesProps {
children: React.ReactNode;
emptyState?: React.ReactNode;
}
/**
* Container for the list of categories with empty state support.
* Follows List Container Level pattern.
*
* @component
* @example
* ```tsx
* // Default usage
* No categories available}>
*
*
*
*
*
*
*
*
*
*
*
* // Simple container usage
* No categories}>
*
*
*
*
*
*
* ```
*/
export declare const Categories: React.ForwardRefExoticComponent>;
/**
* Props for FaqCategories CategoryRepeater component
*/
export interface CategoryRepeaterProps {
children: React.ReactNode;
/** Optional FAQ configurations by category ID */
faqConfigsByCategory?: Record;
}
/**
* Repeater component that renders FaqCategory.Root for each category.
* Follows Repeater Level pattern.
*
* @component
* @example
* ```tsx
*
*
*
*
*
*
*
*
*
*
* // With FAQ configurations per category
*
*
*
*
*
*
*
*
*
* ```
*/
export declare const CategoryRepeater: React.ForwardRefExoticComponent>;