UNPKG

345 BTypeScriptView Raw
1import type { BlockDB } from './blockDB.js';
2interface BlockPosition {
3 px: number;
4 py: number;
5}
6export declare function calculateBlockPosition(columns: number, position: number): BlockPosition;
7export declare function layout(db: BlockDB): {
8 x: number;
9 y: number;
10 width: number;
11 height: number;
12} | undefined;
13export {};