import { IntegrationSource } from '../base.js'; import type { SourceOptions, SourceResult } from '../types.js'; /** * Notion source - fetches pages and databases from Notion * * Requires integration token from: https://www.notion.so/my-integrations * The integration must be added to the pages/databases you want to access */ export declare class NotionSource extends IntegrationSource { name: string; description: string; private readonly API_BASE; private readonly API_VERSION; protected getRequiredCredentialKey(): string; fetch(identifier: string, options?: SourceOptions): Promise; private isNotionUrl; private isNotionId; private extractIdFromUrl; private formatNotionId; private fetchByUrl; private fetchById; private searchNotion; private fetchPage; private fetchBlocks; private fetchDatabase; private queryDatabase; private apiRequest; private formatPage; private formatDatabase; private getPageTitle; private getDatabaseTitle; private formatProperties; private getPropertyValue; private blocksToMarkdown; private blockToMarkdown; private richTextToPlain; getHelp(): string; } //# sourceMappingURL=notion.d.ts.map