@needle-tools/engine
Version:
Needle Engine is a web-based runtime for 3D apps. It runs on your machine for development with great integrations into editors like Unity or Blender - and can be deployed onto any device! It is flexible, extensible and networking and XR are built-in.
32 lines (31 loc) • 1.16 kB
TypeScript
import type { IContext } from "./engine_types.js";
/** @internal */
export declare function _cxKhKwDL(): boolean;
/** @internal */
export declare function __otwqOR(): boolean;
/** @internal */
export declare function __mPmwPS(): boolean;
/** @internal */
export declare function LynjGsV(): boolean;
/** @internal */
export declare function $yRlAEF(cb: (result: boolean) => void): void;
export declare namespace Telemetry {
export function init(): void;
export function isAllowed(context: IContext | null | undefined): boolean;
/**
* Sends a telemetry event
*/
export function sendEvent(context: IContext | null | undefined, eventName: string, properties?: Record<string, any>): Promise<void | Response>;
type ErrorData = {
message?: string;
stack?: string;
filename?: string;
lineno?: number;
colno?: number;
timestamp?: number;
};
export function sendError(context: IContext, errorName: string, error: ErrorData | ErrorEvent | Error): Promise<void | Response>;
export {};
}
export declare function _$AnFl(): void;
export declare let _$oYJ: Promise<void> | undefined;