UNPKG

imdb-listimporter

Version:
14 lines (13 loc) 546 B
import { MatchedUrl } from "./types/urlUtils.js"; export declare const makeRequest: (url: string) => Promise<string>; export default makeRequest; /** * exports for testing purposes, not meant to be used externally. Ugly hack but alas... */ export declare const exportsForTests: { validateUrl: (url: string) => MatchedUrl; getListLinkFromWatchlist: (url: string) => Promise<string>; makeUrl: (url: string) => string; makeWatchlistFetchingUrl: (input: string) => string; extractListId: (data: string) => [boolean, string]; };