/** * Reddit Scraper * * Scrape Reddit posts using their JSON API. * Handles short URLs (reddit.com/r/.../s/...) by following redirects. */ import type { ScrapeOutcome, ScraperConfig } from './types'; /** * Check if a URL is a Reddit URL. */ export declare function isRedditUrl(url: string): boolean; /** * Extract post ID from a Reddit URL. */ export declare function extractRedditPostId(url: string): string | null; /** * Scrape Reddit post metadata using the JSON API. */ export declare function scrapeReddit(url: string, config?: ScraperConfig): Promise; //# sourceMappingURL=reddit.d.ts.map