import React from 'react'; export declare type SidebarProps = React.DetailedHTMLProps, HTMLElement> & { topContent?: React.ReactNode; bottomContent?: React.ReactNode; links: ({ text: string; icon: React.ComponentType<{ className: string; }>; exact?: boolean; to: string; } | { text: string; icon: React.ComponentType<{ className: string; }>; name: string; items: { text: string; exact?: boolean; to: string; }[]; })[]; }; export declare function Sidebar({ className, links, topContent, bottomContent, ...props }: SidebarProps): JSX.Element;