/** * Fetch a post by ID */ export declare function fetchById(id: number): Promise; /** * Fetch all posts */ export declare function fetchAll(): Promise; /** * Fetch posts by status */ export declare function fetchByStatus(status: 'published' | 'draft' | 'archived'): Promise; /** * Fetch posts by category */ export declare function fetchByCategory(category: string): Promise; /** * Fetch posts by author */ export declare function fetchByAuthor(authorId: number): Promise; /** * Fetch posts with minimum views */ export declare function fetchByMinViews(minViews: number): Promise; /** * Fetch posts published after a specific date */ export declare function fetchPublishedAfter(timestamp: number): Promise; declare type PostJsonResponse = ModelRow;