import type { Rectangle } from '@pixi/math' /** * @public * @typeParam N - The internal property for marking rectangles. */ export interface AreaAllocator { readonly width: number; readonly height: number; allocate(width: number, height: number): Rectangle & N; free(area: N): void; }