import type { ResolvedNavItem, Version } from '@redocly/config';
import type { ItemState, DrilldownMenuItemDetails } from '@redocly/theme/core/types';
export declare function useRawSidebarItems(activeVersion?: Version | null): ResolvedNavItem[];
export declare function useSidebarItems(activeVersion?: Version | null): {
    currentItems: ItemState[];
    allSidebarItems: ItemState[];
    popDrilldownState: () => void;
    pushDrilldownState: (drilldownDetails: DrilldownMenuItemDetails) => void;
    backLink: {
        slug: string | undefined;
        event: "sidebar_drilldown_back_button.clicked";
        label?: undefined;
        labelTranslationKey?: undefined;
    } | {
        label: string;
        labelTranslationKey: string;
        slug: string;
        event: "back_to_catalog_button.clicked";
    } | undefined;
};
//# sourceMappingURL=useSidebarItems.d.ts.map