import { EventProxy } from '../../game/event-proxy'; import { IHittable } from '../../game/ihittable'; import { IRenderable, Meshes } from '../../game/irenderable'; import { IScriptable } from '../../game/iscriptable'; import { Player } from '../../game/player'; import { Storage } from '../../io/ole-doc'; import { HitObject } from '../../physics/hit-object'; import { Item } from '../item'; import { Table } from '../table/table'; import { SurfaceApi } from './surface-api'; import { SurfaceData } from './surface-data'; import { SurfaceState } from './surface-state'; import { SurfaceUpdater } from './surface-updater'; /** * VPinball's surfaces, a.k.a as "walls". * * @see https://github.com/vpinball/vpinball/blob/master/surface.cpp */ export declare class Surface extends Item implements IRenderable, IHittable, IScriptable { private readonly state; private readonly meshGenerator; private readonly hitGenerator; private readonly updater; private hits; private drops; private api?; get heightTop(): number; get image(): string | undefined; static fromStorage(storage: Storage, itemName: string): Promise; constructor(data: SurfaceData); isCollidable(): boolean; isTransparent(table: Table): boolean; getMeshes(table: Table): Meshes; setupPlayer(player: Player, table: Table): void; getApi(): SurfaceApi; getState(): SurfaceState; getUpdater(): SurfaceUpdater; getHitShapes(): HitObject[]; getEventProxy(): EventProxy; getEventNames(): string[]; }