import { Post, PostsState, PostOrderBlock, MessageHistory } from "../../types/posts"; import { RelationOneToOne, Dictionary, IDMappedObjects, RelationOneToMany } from "../../types/utilities"; import { GenericAction } from "../../types/actions"; import { Reaction } from "../../types/reactions"; export declare function removeUnneededMetadata(post: Post): Post; export declare function nextPostsReplies(state: { [x: string]: number; } | undefined, action: GenericAction): { [x: string]: number; }; export declare function handlePosts(state: RelationOneToOne | undefined, action: GenericAction): any; export declare function handlePendingPosts(state: string[] | undefined, action: GenericAction): string[]; export declare function postsInChannel(state: Dictionary | undefined, action: GenericAction, prevPosts: IDMappedObjects, nextPosts: Dictionary): Dictionary; export declare function removeNonRecentEmptyPostBlocks(blocks: PostOrderBlock[]): PostOrderBlock[]; export declare function mergePostBlocks(blocks: PostOrderBlock[], posts: Dictionary): PostOrderBlock[]; export declare function mergePostOrder(left: string[], right: string[], posts: Dictionary): string[]; export declare function postsInThread(state: RelationOneToMany | undefined, action: GenericAction, prevPosts: Dictionary): RelationOneToMany; export declare function reactions(state: RelationOneToOne> | undefined, action: GenericAction): any; export declare function openGraph(state: RelationOneToOne | undefined, action: GenericAction): any; export declare function expandedURLs(state: Dictionary | undefined, action: GenericAction): Dictionary; export default function (state: Partial | undefined, action: GenericAction): Partial | { posts: any; postsReplies: { [x: string]: number; }; pendingPostIds: string[]; postsInChannel: Dictionary; postsInThread: RelationOneToMany; selectedPostId: any; currentFocusedPostId: any; reactions: any; openGraph: any; messagesHistory: Partial | { messages: string[] | undefined; index: Dictionary; }; expandedURLs: Dictionary; };