import { RegistryStrategy } from "./registry"; import { EnrichSchema, StoresSchema } from "../interfaces/dAppStoreSchema"; import { FeaturedSection } from "../interfaces"; export declare class DappStores { strategy: RegistryStrategy; private static TTL; private lastStoresCheckedAt; private initialized; private readonly githubOwner; private readonly githubRepo; readonly storesRemoteUrl: string; private cachedStores; private schema; constructor(strategy?: RegistryStrategy); init(): Promise; dappStores: () => Promise; getStore(key: string): Promise; /** * Gets all the featured sections defined in th2e store. Along with the dApps. * If no featured section is defined, returns `undefined` * @returns The list of featured sections and the dApps in that section */ getFeaturedDapps: (storeKey: string) => Promise; /** * validate dapp enrich details for dapps * when a appstore is overiding the metadata of dapps * @param json * @returns */ validateDappEnrichSchema: (payload: EnrichSchema) => (string | boolean)[]; /** * get all category for dappStore * @returns */ getAllCategories: () => { category: string; }[]; }