import * as _$react_jsx_runtime0 from "react/jsx-runtime"; import { ComponentProps } from "react"; //#region src/components/nav-links.d.ts /** 单个导航链接项的配置 */ interface NavLinkItem { /** 链接地址 */ href: string; /** 显示文本 */ label?: string; /** lucide-react 图标名称,或图片文件路径(如 /icons/foo.svg) */ icon?: string; /** 是否在新窗口打开(默认 true) */ external?: boolean; /** * @internal 生成器注入的内联 SVG 内容。 * 当 icon 为 .svg 路径且文件读取成功时由生成器注入, * 存在时优先以内联 SVG 方式渲染(支持 currentColor 继承)。 */ __svgContent?: string; } interface NavLinksProps extends Omit, 'children'> { /** 链接列表 */ links: NavLinkItem[]; /** 容器额外 className */ className?: string; } /** * 导航链接组 — 渲染顶部横条右侧的图标/文本链接 * * 支持四种模式: * - 内联 SVG + label:内联 SVG 图标带文字(支持 currentColor) * - 仅内联 SVG:仅内联 SVG 图标按钮 * - icon + label:图标(img/lucide)带文字 * - 仅 icon / 仅 label */ declare function NavLinks({ links, className, ...props }: NavLinksProps): _$react_jsx_runtime0.JSX.Element | null; //#endregion export { NavLinkItem, NavLinks, NavLinksProps };