dcl-npc-toolkit-ai-version
Version:
A collection of tools for creating Non-Player-Characters (NPCs). These are capable of having conversations with the player, and play different animations. AI usage is added atop of it
27 lines (26 loc) • 706 B
TypeScript
import { TextEncoder } from 'text-encoding';
import 'core-js/features/url';
declare global {
interface Global {
TextEncoder: typeof TextEncoder;
}
interface Headers {
append(name: string, value: string): void;
delete(name: string): void;
get(name: string): string | null;
has(name: string): boolean;
set(name: string, value: string): void;
}
class URL {
constructor(input: string, base?: string | URL);
href: string;
protocol: string;
hostname: string;
pathname: string;
search: string;
hash: string;
}
}
export declare const base64: {
encode: (input: string) => string;
};