@inworld/web-core
Version:
17 lines (16 loc) • 656 B
TypeScript
import { PacketId as ProtoPacketId } from '../../../proto/ai/inworld/packets/packets.pb.js';
export declare class PacketId {
readonly packetId: string;
readonly utteranceId: string | undefined;
readonly interactionId: string | undefined;
readonly correlationId: string | undefined;
readonly conversationId: string | undefined;
constructor({ packetId, utteranceId, interactionId, correlationId, conversationId, }: {
packetId: string;
utteranceId?: string;
interactionId?: string;
correlationId?: string;
conversationId?: string;
});
static fromProto(proto: ProtoPacketId): PacketId;
}