'use server' // It should be allowed to import server APIs here. import 'server-only' import { cookies } from 'next/headers' export async function test() { await cookies() }