UNPKG

@inworld/web-core

Version:
10 lines (9 loc) 477 B
import { SessionState } from '../../common/data_structures/index.js'; import { InworldPacket } from '../../entities/packets/inworld_packet.entity.js'; import { ConnectionService } from '../connection.service.js'; export declare class StateSerializationService<InworldPacketT extends InworldPacket = InworldPacket> { private connection; private service; constructor(connection: ConnectionService<InworldPacketT>); get(attempt?: number): Promise<SessionState>; }