/// import { Buffer } from 'node:buffer'; import { BinaryIO } from '../common/BinaryIO'; import { ArxPortalPolygon } from './PortalPolygon'; /** @see https://github.com/arx/ArxLibertatis/blob/1.2.1/src/graphics/GraphicsTypes.h#L268 */ export type ArxPortal = { polygon: ArxPortalPolygon; room1: number; room2: number; useportal: number; paddy: number; }; export declare class Portal { static readFrom(binary: BinaryIO): ArxPortal; static accumulateFrom(portal: ArxPortal): Buffer; static sizeOf(): number; }