14 lines
345 B
TypeScript
14 lines
345 B
TypeScript
|
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 {};
|