@inworld/web-core
Version:
23 lines (22 loc) • 615 B
TypeScript
import { Agent } from '../../proto/ai/inworld/packets/packets.pb.js';
export interface CharacterProps {
id: string;
resourceName: string;
displayName: string;
assets: Assets;
}
export interface Assets {
avatarImg?: string;
avatarImgOriginal?: string;
rpmModelUri?: string;
rpmImageUriPortrait?: string;
rpmImageUriPosture?: string;
}
export declare class Character {
readonly id: string;
readonly resourceName: string;
readonly displayName: string;
readonly assets: Assets;
constructor(props: CharacterProps);
static fromProto(proto: Agent): Character;
}