import { IPost } from '../../entities/post.entity'; export declare const usePosts: () => { updatePostWithMedia: (id: string, values: Partial>, media: File) => Promise; addPostWithMedia: (type: string, values: Partial>, media: File) => Promise; addPost: (type: string, values: Partial>) => Promise; postById: (id: string) => IPost; getPosts: (params?: { [key: string]: string | number | { tags: string; }; }) => Promise; postsByType: (type: string) => IPost[]; loading: boolean; error: import("../../../store").IPayloadError; viewByType: (type: string) => import("../../..").IView; pagination: { itemsPerPost: number; page: number; }; addMedia: (postId: string, data: { id: string; media: File; }) => Promise; postsByTags: (tags: string) => IPost[]; };