import BaseHTTP from "./BaseHTTP"; interface IPost { title: string; category: string; thumbnail: string; description: string; content: string; } declare class PostService extends BaseHTTP { list: () => Promise; get: (id: string) => Promise; new: (post: IPost) => Promise; update: (id: string, post: IPost) => Promise; delete: (id: string) => Promise; } export default PostService;