import type { Team } from '@mattermost/types/teams';
import type { ThreadsState } from '@mattermost/types/threads';
import type { MMReduxAction } from 'mattermost-redux/action_types';
import type { ExtraData } from './types';
export declare function countsIncludingDirectReducer(state: ThreadsState["counts"] | undefined, action: MMReduxAction, extra: ExtraData): import("@mattermost/types/utilities").RelationOneToOne<Team, {
    total: number;
    total_unread_threads: number;
    total_unread_mentions: number;
    total_unread_urgent_mentions?: number;
}>;
export declare function countsReducer(state: ThreadsState["counts"] | undefined, action: MMReduxAction, extra: ExtraData): any;
