/** * Dev.to API Handler * * Extracts articles from dev.to using the public API. * Supports both individual articles and user article lists. */ import { BaseSiteHandler, type FetchFunction, type SiteHandlerOptions, type SiteHandlerResult } from './types.js'; export declare class DevToHandler extends BaseSiteHandler { readonly name = "Dev.to"; readonly strategy: "api:devto"; canHandle(url: string): boolean; extract(url: string, fetch: FetchFunction, opts: SiteHandlerOptions): Promise; /** * Extract article info from Dev.to URL * Returns { username, slug } for article URLs or { username } for profile URLs */ private getArticleInfo; /** * Convert HTML to plain text */ private htmlToPlainText; /** * Format a single Dev.to article for output */ private formatArticle; /** * Format a list of Dev.to articles for output */ private formatArticleList; } export declare const devtoHandler: DevToHandler; //# sourceMappingURL=devto-handler.d.ts.map