import { GetBlockResponse, GetPageResponse } from "@notionhq/client/build/src/api-endpoints.js"; import type { NotionBlock } from "./types.js"; import "dotenv/config"; export declare const fetchChildBlocks: (parentBlockId: string) => Promise; export declare const fetchBlock: (blockId: string) => Promise; export declare const fetchPage: (pageId: string) => Promise; export declare const addComment: (blockId: string, commentContent: string) => Promise; /** * Create a new Notion page with the specified title and content blocks * @param parentPageId Parent page ID where the new page will be created * @param title Title for the new page * @param blocks Array of Notion block objects for page content * @returns The created page object */ export declare const createPage: (parentPageId: string, title: string, blocks: any[]) => Promise; /** * Append blocks to an existing Notion page * @param pageId ID of the page to append blocks to * @param blocks Array of Notion block objects to append * @returns The API response */ export declare const appendBlocksToPage: (pageId: string, blocks: any[]) => Promise; /** * Replace a block with multiple blocks * @param blockId ID of the block to replace * @param newBlocks Array of new blocks to insert at the same position * @returns A success message */ export declare const replaceBlock: (blockId: string, newBlocks: any[]) => Promise;