export interface ScrapeSubredditOptions { /** * Name of subreddit (withou /r/). * * @example improv */ subreddit: string; /** * Stop after fetching this amount of posts. * * @see maxPostAge * @default 100 */ maxPostCount?: number; /** * UTC timestamp in seconds of the oldest post to scrape (will stop after reaching that post). * * Use this on subsequent scrapes to only fetch the most recent posts that might have changes in comments. * * @see maxPostCount * @default Last seven days (`Math.floor(Date.now() / 1000) - 7 * 24 * 60 * 60`) */ maxPostAge?: number; /** * Directory to store scraped posts. * * @default "./results" */ storageDirectory?: string; } export declare function scrapeSubreddit(options: ScrapeSubredditOptions): Promise; //# sourceMappingURL=scrape.d.ts.map