import type { GlobalState } from '@mattermost/types/store'; import type { UserMentionKey } from 'mattermost-redux/selectors/entities/users'; export declare const getCurrentSearchForCurrentTeam: (state: GlobalState) => string; export declare const getAllUserMentionKeys: (state: GlobalState) => UserMentionKey[]; export declare const getSearchTruncationInfo: (state: GlobalState) => { posts: number; files: number; } | undefined; export declare const isSearchTruncated: (state: GlobalState, searchType: "posts" | "files") => boolean;