UNPKG

910 BTypeScriptView Raw
1import type { Block } from './blockTypes.js';
2import type { BlockDB } from './blockDB.js';
3declare function calculateBlockSize(elem: d3.Selection<SVGGElement, unknown, HTMLElement, any>, block: any, db: any): Promise<void>;
4type ActionFun = typeof calculateBlockSize;
5export declare function insertBlockPositioned(elem: any, block: Block, db: any): Promise<void>;
6export declare function performOperations(elem: d3.Selection<SVGGElement, unknown, HTMLElement, any>, blocks: Block[], db: BlockDB, operation: ActionFun): Promise<void>;
7export declare function calculateBlockSizes(elem: any, blocks: Block[], db: BlockDB): Promise<void>;
8export declare function insertBlocks(elem: d3.Selection<SVGGElement, unknown, HTMLElement, any>, blocks: Block[], db: BlockDB): Promise<void>;
9export declare function insertEdges(elem: any, edges: Block[], blocks: Block[], db: BlockDB, id: string): Promise<void>;
10export {};