state sync

This commit is contained in:
2025-11-23 14:59:17 -08:00
parent 537bdf1ad7
commit 39f4a8d3fc
812 changed files with 373062 additions and 84 deletions

View File

@@ -0,0 +1,13 @@
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 {};