import { ICategory, ImageType, PostBase } from '@/database/baseTypes'; export declare module IHowTo { export interface GetPostsParams { slug?: string; start?: number; limit?: number; categorySlug?: string; } export interface PostPreview { slug: string; preview: { previewText: string; previewImage?: string; previewImageFile?: ImageType | string; previewBackgroundColor: string; }; title: string; category: ICategory; readTime: string; date: string; published_at: string; } export interface Author { imageFile: ImageType | string; description: string; id: number; image: string; linkedIn: string; name: string; order: number; parentId: number; position: string; website: string; } export interface Post extends PostBase { image: string; imageFile: ImageType; badge: { imageFile?: ImageType | string; link: string; }; readTime: string; author: Author; hubspotFormId: string; } }