import { type FaqServiceConfig } from '../../services/index.js'; export interface RootProps { children: React.ReactNode; faqServiceConfig: FaqServiceConfig; } /** * Root component that provides the FAQ service context to its children. * This component sets up the necessary services for rendering and managing a single FAQ entry's data. * * @component * @example * ```tsx * import { Faq } from '@wix/faq/components'; * * function FaqPage() { * return ( * * * {({ question }) => ( *

{question}

* )} *
*
* ); * } * ``` */ export declare function Root(props: RootProps): React.ReactNode; /** * Props for FaqName headless component */ export interface FaqNameProps { /** Render prop function that receives FAQ question data */ children: (props: FaqNameRenderProps) => React.ReactNode; } /** * Render props for FaqName component */ export interface FaqNameRenderProps { /** FAQ question */ question: string; } /** * Headless component for FAQ question display * * @component * @example * ```tsx * import { Faq } from '@wix/faq/components'; * * function FaqHeader() { * return ( * * {({ question }) => ( *

{question}

* )} *
* ); * } * ``` */ export declare function Name(props: FaqNameProps): import("react").ReactNode; /** * Props for FaqItem headless component */ export interface FaqItemProps { /** Render prop function that receives FAQ item data */ children: (props: FaqItemRenderProps) => React.ReactNode; } /** * Render props for FaqItem component */ export interface FaqItemRenderProps { /** FAQ unique identifier */ id: string; } /** * Headless component for FAQ item wrapper * * @component * @example * ```tsx * import { Faq } from '@wix/faq/components'; * * function FaqItem() { * return ( * * {({ id }) => ( * * {children} * * )} * * ); * } * ``` */ export declare function Item(props: FaqItemProps): import("react").ReactNode; /** * Props for FaqAnswer headless component */ export interface FaqAnswerProps { /** Render prop function that receives FAQ answer data */ children: (props: FaqAnswerRenderProps) => React.ReactNode; } /** * Render props for FaqAnswer component */ export interface FaqAnswerRenderProps { /** FAQ answer */ answer: string; } /** * Headless component for FAQ answer display * * @component * @example * ```tsx * import { Faq } from '@wix/faq/components'; * * function FaqContent() { * return ( * * {({ answer }) => ( *

{answer}

* )} *
* ); * } * ``` */ export declare function Answer(props: FaqAnswerProps): import("react").ReactNode;