cullmann.io/themes/blowfish/assets/lib/mermaid/diagrams/block/layout.d.ts

14 lines
345 B
TypeScript
Raw Normal View History

import type { BlockDB } from './blockDB.js';
interface BlockPosition {
px: number;
py: number;
}
export declare function calculateBlockPosition(columns: number, position: number): BlockPosition;
export declare function layout(db: BlockDB): {
x: number;
y: number;
width: number;
height: number;
} | undefined;
export {};