UNPKG

typerinth

Version:

A TypeScript library for interacting with the Modrinth API.

11 lines (10 loc) 400 B
import { URL } from 'url'; import { Route } from '../Route'; import CacheManager from '../../util/CacheManager'; export declare class CheckProjectValidityRoute extends Route<boolean> { private projectId; constructor(baseUrl: URL, ua: string | undefined, cacheManager: CacheManager, projectId: string); getCacheKey(): string | null; getUrl(): URL; parseData(data: any): boolean; }