import type { ItemState, BreadcrumbItem, TFunction } from '@redocly/theme/core/types';
import type { ResolvedNavLinkItem } from '@redocly/config';
type CurrentCatalogInfo = {
    catalog: {
        label: string;
        link: string;
        labelTranslationKey: string;
        icon?: string;
    };
    item: {
        label: string;
        link: string;
    };
};
type GenerateBreadcrumbsParams = {
    allSidebarItems: ItemState[];
    pathname: string;
    catalogItemInfo: CurrentCatalogInfo['item'] | undefined;
    relatedNavbarItem: BreadcrumbItem | undefined;
    catalogInfo: CurrentCatalogInfo['catalog'] | undefined;
    prefixItems: readonly ResolvedNavLinkItem[] | undefined;
    hide: boolean | undefined;
    translate: TFunction;
};
type BreadcrumbsResult = {
    breadcrumbs: BreadcrumbItem[];
    currentItemSiblings?: BreadcrumbItem[];
};
export declare function useBreadcrumbs(): BreadcrumbsResult;
export declare const generateBreadcrumbs: ({ allSidebarItems, pathname, catalogItemInfo, relatedNavbarItem, catalogInfo, prefixItems, hide, translate, }: GenerateBreadcrumbsParams) => BreadcrumbItem[];
/**
 * Generates siblings for the current navigation item.
 * Siblings are other navigation items that share the same parent as the current item.
 * This is used to create dropdown menus in breadcrumbs that allow users to navigate
 * to related pages at the same hierarchical level.
 */
export declare const generateSiblings: (allSidebarItems: ItemState[], breadcrumbs: BreadcrumbItem[]) => BreadcrumbItem[];
export {};
//# sourceMappingURL=useBreadcrumbs.d.ts.map