import { RpgClientEngine } from '../RpgClientEngine'; import { AbstractWebsocket } from './AbstractSocket'; type PresentationHost = Pick; /** State packets are sent either raw or wrapped as `{ value }`. */ export declare function unwrapStatePacket(data: unknown): unknown; /** * Normalize a `weatherState` packet. * * Returns `null` to clear the weather, the weather state to apply, or * `undefined` when the packet is invalid and must be ignored. */ export declare function normalizeWeatherPacket(data: unknown): { effect: any; preset: any; params: any; transitionMs: any; durationMs: any; startedAt: any; seed: any; } | null | undefined; /** * Listen to server packets that only drive presentation: animations, flashes, * sounds, camera, map shake, weather and lighting. */ export declare function registerPresentationListeners(socket: AbstractWebsocket, engine: PresentationHost): void; export {};