import type { FileSearchResultItem } from '@mattermost/types/files'; import type { PostList, PostSearchResults } from '@mattermost/types/posts'; import type { SearchParameter } from '@mattermost/types/search'; import type { ActionResult, ActionFuncAsync, ThunkActionFunc } from 'mattermost-redux/types/actions'; export declare const WEBAPP_SEARCH_PER_PAGE = 20; export declare function getMissingChannelsFromPosts(posts: PostList['posts']): ThunkActionFunc; export declare function getMissingChannelsFromFiles(files: Map): ThunkActionFunc>; export declare function searchPostsWithParams(teamId: string, params: SearchParameter): ActionFuncAsync; export declare function searchPosts(teamId: string, terms: string, isOrSearch: boolean, includeDeletedChannels: boolean): ActionFuncAsync; export declare function getMorePostsForSearch(teamId: string): ActionFuncAsync; export declare function clearSearch(): ActionFuncAsync; export declare function searchFilesWithParams(teamId: string, params: SearchParameter): ActionFuncAsync; export declare function getMoreFilesForSearch(teamId: string): ActionFuncAsync; export declare function getFlaggedPosts(): ActionFuncAsync; export declare function getPinnedPosts(channelId: string): ActionFuncAsync; declare const _default: { clearSearch: typeof clearSearch; searchPosts: typeof searchPosts; }; export default _default;