export interface ScrapeMultipleSubredditsOptions { /** * List of subreddit names (without r/). * * @example ["improv", "comedy", "standupcomedy"] */ subreddits: string[]; /** * Maximum number of posts to scrape per subreddit. * * @default 100 */ maxPostCount?: number; /** * Number of days back to scrape from now. * This will be converted to maxPostAge internally. * Cannot be used together with maxPostAge. * * @default 7 */ maxDays?: number; /** * UTC timestamp in seconds of the oldest post to scrape. * Cannot be used together with maxDays. * If neither maxDays nor maxPostAge is provided, defaults to 7 days back. */ maxPostAge?: number; /** * Enable verbose/debug logging. * * @default false */ enableDebug?: boolean; /** * Directory to store scraped posts. * * @default "./results" */ storageDirectory?: string; } export interface ScrapeResult { /** * Name of the subreddit that was scraped. */ subreddit: string; /** * Whether the scrape was successful. */ success: boolean; /** * Error that occurred during scraping, if any. */ error?: Error; } export interface ScrapeMultipleResults { /** * Individual results for each subreddit. */ results: ScrapeResult[]; /** * Number of subreddits successfully scraped. */ successCount: number; /** * Number of subreddits that failed to scrape. */ failureCount: number; } /** * Scrape multiple subreddits sequentially with error handling. * * @param options - Configuration options for scraping * @returns Results for each subreddit including success/failure status * * @example * ```typescript * import { scrapeMultipleSubreddits } from 'reddit-scraper'; * * const results = await scrapeMultipleSubreddits({ * subreddits: ['improv', 'comedy'], * maxPostCount: 50, * maxDays: 7, * enableDebug: false * }); * * console.log(`${results.successCount} succeeded, ${results.failureCount} failed`); * ``` */ export declare function scrapeMultipleSubreddits(options: ScrapeMultipleSubredditsOptions): Promise; //# sourceMappingURL=scrape-multiple.d.ts.map