import { TextEvent as ProtoTextEvent } from '../../../../proto/ai/inworld/packets/packets_pb'; import { InworldTextPacketType } from '../../common/data_structures'; export declare class TextEvent { readonly text: string; readonly final: boolean; readonly type: InworldTextPacketType; constructor({ text, final, type, }: { text: string; final: boolean; type?: InworldTextPacketType; }); static fromProto(proto: ProtoTextEvent): TextEvent; private static getType; }