import { BinaryIO } from '../common/BinaryIO.js';
import { type ArxPortalPolygon } from './PortalPolygon.js';
/**
 * @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<ArrayBufferLike>): ArxPortal;
    static accumulateFrom(portal: ArxPortal, levelIdx: number): ArrayBuffer;
    static sizeOf(): number;
}
