import React, { PropsWithChildren } from "react";
import { IMenuContext, IMenuState } from "./types";
export declare const useMenu: () => IMenuContext;
export declare const MenuConsumer: React.Consumer<IMenuContext>;
export declare class MenuProvider extends React.Component<PropsWithChildren, IMenuState> {
    state: {
        isMenuVisible: boolean;
        isPopupVisible: boolean;
        prevScrollPos: number;
        childrenOverride: null;
    };
    private listenScrollEvent;
    componentDidMount(): void;
    componentWillUnmount(): void;
    private showMenu;
    private hideMenu;
    private showPopup;
    private hidePopup;
    private setChildrenOverride;
    private clearChildrenOverride;
    render(): import("react/jsx-runtime").JSX.Element;
}
