@vrerv/md-to-notion
Version:
An upload of markdown files to a hierarchy of Notion pages.
11 lines • 515 B
TypeScript
/**
* Determines append or delete action to existing blocks to merge new blocks to existing blocks,
*
* @param existingBlocks
* @param newBlocks
* @param appendBlocks
* @param deleteBlock
*/
export declare function mergeBlocks(existingBlocks: any[], newBlocks: any[], appendBlocks: (blocks: any[], after?: any) => Promise<void>, deleteBlock: (_: any) => Promise<void>): Promise<void>;
export declare function compareBlock(targetBlock: any, baseBlock: any): boolean;
//# sourceMappingURL=merge-blocks.d.ts.map