import type { RefObject } from 'react';
import type { LinkProps } from './AppShell.types';
export interface OverflowResult {
    visibleCount: number;
}
interface UseTopNavOverflowOptions {
    moreButtonRef?: RefObject<HTMLElement | null>;
    epsilon?: number;
}
interface UseTopNavOverflowReturn {
    containerRef: RefObject<HTMLDivElement>;
    measureRef: RefObject<HTMLDivElement>;
    result: OverflowResult;
}
export declare function useTopNavOverflow(items: LinkProps[], opts: UseTopNavOverflowOptions): UseTopNavOverflowReturn;
export {};
//# sourceMappingURL=useTopNavOverflow.d.ts.map