import React 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<{}, 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(): JSX.Element;
}
