export interface getByGenre { id?: string; title?: string; des?: string; } export interface getPostsByGenre { genre?: string; page?: number; sort?: 'name' | 'views' | 'last_update'; sort_type?: 'ASC' | 'DESC'; } export interface getPostsByGenreResult { id?: string; image?: string; title?: string; view?: number; chapter?: string; } export declare const getByGenre: () => Promise; export declare const getPostsByGenre: ({ genre, page, sort, sort_type, }: getPostsByGenre) => Promise;