import React from 'react';
import type { SourceGroup } from './buildSourceGroups';
interface GroupedListProps {
    groups: SourceGroup[];
    /**
     * Render each group's `label` as a section header when true. False
     * skips the headers but keeps the grouped container styling.
     */
    showLabels: boolean;
    /**
     * Class name applied to the inner box that holds each group's
     * children. Caller decides between standard / compact styling so the
     * renderer doesn't reach into FunkitConfig.
     */
    boxClassName: string;
    /** Applied as `data-testid` on the outer Box for snapshot scoping. */
    testId?: string;
}
/**
 * Pure presentational primitive: groups rendered as separate boxes
 * inside a grouped container, with optional section labels. No
 * provider/context dependencies — composition lives in the caller.
 */
export declare function GroupedList({ groups, showLabels, boxClassName, testId, }: GroupedListProps): React.JSX.Element;
export {};
