/**
 * Returns true when \`@needle-tools/engine\` is installed as a local package
 * (i.e. it has its own nested `node_modules`). Vite's optimiser must skip such
 * packages, otherwise it tries to pre-bundle source that was never meant to be
 * pre-bundled and fails at dev-server start.
 *
 * @param {string} [root] – project root; defaults to `process.cwd()`.
 * @returns {boolean}
 */
export function isLocalNeedleEngineInstalled(root?: string): boolean;
/**
 * @param {"build" | "serve"} command
 * @param {import('../types/needleConfig').needleMeta | null | undefined} config
 * @param {import('../types').userSettings} userSettings
 * @returns {import('vite').Plugin[]}
 */
export function needleDependencies(command: "build" | "serve", config: import("../types/needleConfig").needleMeta | null | undefined, userSettings: import("../types").userSettings): import("vite").Plugin[];
/**
 * @type {string[]}
 */
export const preloadScriptPaths: string[];
