UNPKG

react-hadiths

Version:

A Simple SDK to use the Hadiths API effectively and efficiently

10 lines (9 loc) 452 B
import { Base } from "../base"; import { HadithTypes } from "./types"; export declare class Hadiths extends Base { getHadithById(id: string): Promise<HadithTypes>; getAllHadiths(): Promise<HadithTypes>; getHadithsByCollection(collectionName: string): Promise<HadithTypes>; getHadithsByCategory(collectionName: string, categoryName: string): Promise<HadithTypes>; searchHadiths(searchQuery: string): Promise<HadithTypes>; }