import * as H from 'history';
import * as React from 'react';
import * as GQL from '../../backend/graphqlschema';
import { ExtensionsDocumentsProps } from '../../extensions/environment/ExtensionsEnvironment';
import { ExtensionsControllerProps } from '../../extensions/ExtensionsClientCommonContext';
interface Props extends ExtensionsControllerProps, ExtensionsDocumentsProps {
    user: GQL.IUser | null;
    location: H.Location;
    history: H.History;
    isLightTheme: boolean;
    onThemeChange: () => void;
    onMainPage: (mainPage: boolean) => void;
    showHelpPopover: boolean;
    onHelpPopoverToggle: (visible?: boolean) => void;
}
interface State {
    /** The query value entered by the user in the query input */
    userQuery: string;
    modalSearchOpen: boolean;
    modalIntelligenceOpen: boolean;
    modalSearchClosing: boolean;
    modalIntelligenceClosing: boolean;
    modalIntegrationsOpen: boolean;
    modalIntegrationsClosing: boolean;
    activeButton?: string;
    activesection?: string;
    animateModalSearch: boolean;
    animateModalIntelligence: boolean;
    animateModalIntegrations: boolean;
    manualClick?: boolean;
    bgScrollStyle: string;
}
/**
 * The main page
 */
export declare class MainPage extends React.Component<Props, State> {
    private static HIDE_REPOGROUP_SAMPLE_STORAGE_KEY;
    private overlayPortal;
    constructor(props: Props);
    componentDidMount(): void;
    componentWillUnmount(): void;
    render(): JSX.Element | null;
    private handleQueryChange;
    private activateModal;
    private closeModal;
    private onUserQueryChange;
    private onSubmit;
    private getPageTitle;
}
export {};
//# sourceMappingURL=MainPage.d.ts.map