import type { NextConfigComplete } from '../server/config-shared'; export default function loadJsConfig(dir: string, config: NextConfigComplete): Promise<{ useTypeScript: boolean; jsConfig: { compilerOptions: Record; } | undefined; resolvedBaseUrl: string | undefined; }>;