import * as React from 'react';
import { RouteComponentProps } from 'react-router';
import * as GQL from '../backend/graphqlschema';
import { FilteredConnectionFilter } from '../components/FilteredConnection';
interface ChartData {
    label: string;
    dateFormat: string;
}
interface ChartOptions {
    daus: ChartData;
    waus: ChartData;
    maus: ChartData;
}
export declare const USER_ACTIVITY_FILTERS: FilteredConnectionFilter[];
interface SiteAdminAnalyticsPageProps extends RouteComponentProps<any> {
    isLightTheme: boolean;
}
interface SiteAdminAnalyticsPageState {
    users?: GQL.IUserConnection;
    siteActivity?: GQL.ISiteActivity;
    error?: Error;
    chartID: keyof ChartOptions;
}
/**
 * A page displaying usage analytics for the site.
 */
export declare class SiteAdminAnalyticsPage extends React.Component<SiteAdminAnalyticsPageProps, SiteAdminAnalyticsPageState> {
    state: SiteAdminAnalyticsPageState;
    private subscriptions;
    private loadLatestChartFromStorage;
    componentDidMount(): void;
    componentDidUpdate(): void;
    componentWillUnmount(): void;
    render(): JSX.Element | null;
    private onChartIndexChange;
}
export {};
//# sourceMappingURL=SiteAdminAnalyticsPage.d.ts.map