import * as React from 'react'; import type { NavGroupData } from './types.js'; export { checkIsActive, splitHref, declaredFiltersMatch, VIEW_PARAMS } from './nav-active.js'; export type { SplitHref } from './nav-active.js'; export type NavLinkComponent = React.ComponentType & { to: string; children?: React.ReactNode; }>; export type NavGroupProps = NavGroupData & { /** * Current URL href (typically `useLocation().href` from tanstack-router). * Used to highlight active items. */ currentHref: string; /** * Component used to render internal links. Pass the tanstack-router `` * or a wrapper around your framework's link component. Must accept `to` and * forward standard anchor props. */ LinkComponent: NavLinkComponent; /** Optional hover handler for prefetching data (no-op by default). */ onItemHover?: (url: string) => void; /** * Pre-resolved active leaf URLs (typically from AppSidebar across ALL groups). * When set, leaf `isActive` uses this set so a filtered credit queue wins over * a bare "Pedidos" entry in another group. When omitted, the group resolves * locally (legacy / standalone NavGroup mounts). */ activeUrls?: Set; }; export declare function NavGroup({ title, items, currentHref, LinkComponent, onItemHover, activeUrls: activeUrlsProp, }: NavGroupProps): React.JSX.Element | null; //# sourceMappingURL=nav-group.d.ts.map