import type { ResolvedNavItem, ResolvedNavItemWithLink } from '@redocly/config'; export declare function getNavbarElement(): HTMLElement; export declare function replaceHashInColor(color: string): string; export declare function normalizeRedocBadge(label: string): string; export declare function flattenNestedItems>(items: T[], res?: T[]): T[]; /** * @param sidebar * @param currentPathname */ export declare function getSiblingPages(items: ResolvedNavItem[] | undefined, currentPathname: string): { prevPage: ResolvedNavItemWithLink | undefined; nextPage: ResolvedNavItemWithLink | undefined; } | { prevPage?: undefined; nextPage?: undefined; }; export declare function isInIframe(): boolean; export declare function isForcedNavigationLinkClick(event: MouseEvent | React.MouseEvent, target?: string): boolean; export declare function appendSearchParams(route: string, search?: string): string; //# sourceMappingURL=utils.d.ts.map