'use strict';
import { ApiError as ApiError$1 } from 'next/dist/server/api-utils/index.js';
import { isDynamicServerError } from 'next/dist/client/components/hooks-server-context.js';
import { cookies, headers } from 'next/headers.js';

var __defProp=Object['defineProperty'],__name=(_0x416ad4,_0x3111ee)=>__defProp(_0x416ad4,'name',{'value':_0x3111ee,'configurable':!![]});class ApiError extends ApiError$1{static{__name(this,'ApiError');}}const fdIsDynamicServerError=isDynamicServerError;function fdCookies(){return cookies();}__name(fdCookies,'fdCookies');function fdHeaders(){return headers();}__name(fdHeaders,'fdHeaders');function fdRedirect(_0x2f9c97){return require('next/navigation.js').redirect(_0x2f9c97);}__name(fdRedirect,'fdRedirect');

export { ApiError, fdCookies, fdHeaders, fdIsDynamicServerError, fdRedirect };
