/**
 * Copyright (c) OpenLens Maintainers. All rights reserved.
 * Licensed under MIT License. See LICENSE in root directory for more information.
 */
import React from "react";
export interface NavigationTree {
    id: string;
    parentId?: string;
    name: string;
    selected?: boolean;
    children?: NavigationTree[];
}
export interface ScrollSpyProps extends React.DOMAttributes<HTMLElement> {
    render: (data: NavigationTree[]) => JSX.Element;
    htmlFor?: string;
    rootMargin?: string;
}
export declare const ScrollSpy: ({ render, htmlFor, rootMargin }: ScrollSpyProps) => React.JSX.Element;
