/** Integrates Needle Engine into a Next.js project.
 * Pass a nextConfig object in to add the needle specific settings.
 * Optionally omit nextConfig and it will be created for you.
 * @param {import('next').NextConfig} [nextConfig]
 * @param {import('../types').userSettings} [userSettings]
 * @returns {Promise<import('next').NextConfig>}
 */
export function needleNext(nextConfig?: any, userSettings?: import("../types").userSettings): Promise<any>;
