import * as React from 'react';
import { RouteComponentProps } from 'react-router';
import * as GQL from '../backend/graphqlschema';
import { ExtensionsProps } from '../extensions/ExtensionsClientCommonContext';
import { RouteDescriptor } from '../util/contributions';
import { SiteAdminSideBarGroups } from './SiteAdminSidebar';
export interface SiteAdminAreaRouteContext extends ExtensionsProps {
    site: Pick<GQL.ISite, '__typename' | 'id'>;
    user: GQL.IUser;
    isLightTheme: boolean;
    /** This property is only used by {@link SiteAdminOverviewPage}. */
    overviewComponents: ReadonlyArray<React.ComponentType>;
}
export interface SiteAdminAreaRoute extends RouteDescriptor<SiteAdminAreaRouteContext> {
}
interface SiteAdminAreaProps extends RouteComponentProps<{}>, ExtensionsProps {
    routes: ReadonlyArray<SiteAdminAreaRoute>;
    sideBarGroups: SiteAdminSideBarGroups;
    overviewComponents: ReadonlyArray<React.ComponentType>;
    user: GQL.IUser | null;
    isLightTheme: boolean;
}
/**
 * Renders a layout of a sidebar and a content area to display site admin information.
 */
export declare class SiteAdminArea extends React.Component<SiteAdminAreaProps> {
    render(): JSX.Element | null;
}
export {};
//# sourceMappingURL=SiteAdminArea.d.ts.map