/**
 * Scans local GLB/glTF files to determine which engine components are actually used,
 * then rewrites the engine's `codegen/register_types.ts` so that unused components
 * are registered lazily via `TypeStore.addLazy()` instead of eagerly imported.
 *
 * @param {"build" | "serve"} command
 * @param {import('../types/needleConfig').needleMeta | null | undefined} config
 * @param {import('../types').userSettings} userSettings
 * @returns {import('vite').Plugin | undefined}
 */
export function needleTreeshake(command: "build" | "serve", config: import("../types/needleConfig").needleMeta | null | undefined, userSettings: import("../types").userSettings): import("vite").Plugin | undefined;
