export default function updateNextConfigFile(parentDir?: string): Promise<{ type: "commonjs"; configPath: string; } | { type: "module"; configPath: string; } | undefined>;