interface Item { id: string; title: string; description: string; type: string; subgenrename: string; language: string; thumbnail_2x3: string | null; thumbnail_16x9: string | null; total: string; year_of_release: string; tagtext: string; } interface Container { containertype: string; item: Item[]; title: string; description?: string; type: string; slug: string; contenttype: string; } export interface HomeData { container: Container[]; total: number; pageNo: number; totalPages: number; } declare class Home { static getData(page?: number): Promise; } export default Home;