import { BuiltinSource } from '../base.js'; import type { SourceOptions, SourceResult } from '../types.js'; /** * URL source - fetches specs from remote URLs * * Supports: * - Raw markdown files (GitHub raw, etc.) * - HTML pages (basic conversion) * - JSON responses * - GitHub issues and files (specialized parsing) * - Notion public pages (specialized parsing) */ export declare class UrlSource extends BuiltinSource { name: string; description: string; isAvailable(): Promise; fetch(identifier: string, options?: SourceOptions): Promise; /** * Fetch and parse GitHub URLs (issues, blobs, etc.) */ private fetchGitHub; /** * Check if URL is a Notion public page */ private isNotionUrl; /** * Fetch and parse Notion public pages */ private fetchNotion; /** * Parse Notion public page HTML * Note: Notion uses client-side rendering, so public pages have limited HTML content */ private parseNotionHtml; /** * Extract content from Notion's preloaded data */ private extractNotionContent; private isMarkdown; private jsonToMarkdown; private arrayToMarkdown; private objectToMarkdown; private htmlToMarkdown; private getTitleFromUrl; getHelp(): string; } //# sourceMappingURL=url.d.ts.map