import { ItemType } from 'antd/es/menu/interface';
import { TLink } from './types';
export type TResourcesListFetchEntry = {
    nodePath: string;
    k8sParams: {
        cluster: string;
        apiGroup?: string;
        apiVersion: string;
        plural: string;
        namespace?: string;
        isEnabled: boolean;
    };
};
export declare const collectLinksWithResourcesList: ({ items, parentPath, replaceValues, multiQueryData, isEnabled, }: {
    items: TLink[];
    parentPath?: string | undefined;
    replaceValues: Record<string, string | undefined>;
    multiQueryData: Record<string, unknown>;
    isEnabled?: boolean | undefined;
}) => TResourcesListFetchEntry[];
export declare const prepareDataForManageableSidebar: ({ data, replaceValues, multiQueryData, pathname, searchParams, idToCompare, fallbackIdToCompare, currentTags, resourcesListData, }: {
    data: {
        id: string;
        menuItems: TLink[];
        keysAndTags?: Record<string, string[]>;
        externalKeys?: string[];
    }[];
    replaceValues: Record<string, string | undefined>;
    multiQueryData?: Record<string, unknown> | undefined;
    pathname: string;
    searchParams?: string | undefined;
    idToCompare: string;
    fallbackIdToCompare?: string | undefined;
    currentTags?: string[] | undefined;
    resourcesListData?: Record<string, {
        items?: Record<string, unknown>[] | undefined;
    }> | undefined;
}) => {
    menuItems: ItemType[];
    selectedKeys: string[];
} | undefined;
