import { DataChunkDataType, InworldPacket as ProtoPacket, Routing } from '../../proto/ai/inworld/packets/packets.pb'; import { CancelResponsesProps } from '../common/data_structures'; import { Character } from '../entities/character.entity'; import { TriggerParameter } from '../entities/inworld_packet.entity'; export declare class EventFactory { private character; getCurrentCharacter(): Character; setCurrentCharacter(character: Character): void; dataChunk(chunk: string, type: DataChunkDataType): ProtoPacket; audioSessionStart(): ProtoPacket; audioSessionEnd(): ProtoPacket; ttsPlaybackStart(): ProtoPacket; ttsPlaybackEnd(): ProtoPacket; ttsPlaybackMute(isMuted: boolean): ProtoPacket; text(text: string): ProtoPacket; trigger(name: string, parameters?: TriggerParameter[]): ProtoPacket; cancelResponse(cancelResponses?: CancelResponsesProps): ProtoPacket; baseProtoPacket({ utteranceId, interactionId, correlationId, }?: { utteranceId?: boolean; interactionId?: boolean; correlationId?: boolean; }): { packetId: { correlationId: string; interactionId: string; utteranceId: string; packetId: string; }; timestamp: string; routing: Routing; }; private routing; }