import type { FileInfo, FileSearchResultItem } from '@mattermost/types/files';
import type { Post } from '@mattermost/types/posts';
import type { GlobalState } from '@mattermost/types/store';
export declare function getFile(state: GlobalState, id: string): FileInfo;
export declare function getFilePublicLink(state: GlobalState): {
    link: string;
} | undefined;
export declare function getRejectedFiles(state: GlobalState): Set<string>;
export declare function isFileRejected(state: GlobalState, fileId: string): boolean;
export declare function makeGetFileIdsForPost(): (state: GlobalState, postId: string) => string[];
export declare function makeGetFilesForPost(): (state: GlobalState, postId: string) => FileInfo[];
export declare function makeGetFilesForEditHistory(): (state: GlobalState, editHistoryPost: Post) => FileInfo[];
export declare const getSearchFilesResults: (state: GlobalState) => FileSearchResultItem[];
