/** * Notion Integration Source * * Fetches pages from Notion: * - Public pages: HTML fetch (no auth needed) * - Private pages: Notion API (requires token) */ import { type AuthMethod, BaseIntegration, type IntegrationOptions, type IntegrationResult } from '../base.js'; export declare class NotionIntegration extends BaseIntegration { name: string; displayName: string; description: string; website: string; authMethods: AuthMethod[]; private readonly API_BASE; private readonly API_VERSION; fetch(identifier: string, options?: IntegrationOptions): Promise; private isNotionUrl; /** * Fetch a public Notion page via HTML * Returns null if the page is not public */ private fetchPublicPage; /** * Convert Notion HTML to markdown */ private htmlToMarkdown; /** * Extract title from Notion HTML */ private extractTitle; /** * Fetch via Notion API (for private pages or search) */ private fetchViaApi; private isNotionId; private extractIdFromUrl; private formatNotionId; private fetchPageById; private searchNotion; private apiRequest; private formatPage; private formatDatabase; private getPageTitle; private getDatabaseTitle; private formatProperties; private getPropertyValue; private blocksToMarkdown; private blockToMarkdown; private richTextToPlain; getHelp(): string; } //# sourceMappingURL=source.d.ts.map