Files
Webklar.com/node_modules/next/dist/server/config.d.ts
Basilosaurusrex f027651f9b main repo
2025-11-24 18:09:40 +01:00

12 lines
901 B
TypeScript

import { ExperimentalConfig, NextConfigComplete, NextConfig } from './config-shared';
export { DomainLocale, NextConfig, normalizeConfig } from './config-shared';
export declare function warnOptionHasBeenDeprecated(config: NextConfig, nestedPropertyKey: string, reason: string, silent: boolean): void;
export declare function warnOptionHasBeenMovedOutOfExperimental(config: NextConfig, oldKey: string, newKey: string, configFileName: string, silent: boolean): NextConfig;
export default function loadConfig(phase: string, dir: string, { customConfig, rawConfig, silent, onLoadUserConfig, }?: {
customConfig?: object | null;
rawConfig?: boolean;
silent?: boolean;
onLoadUserConfig?: (conf: NextConfig) => void;
}): Promise<NextConfigComplete>;
export declare function getEnabledExperimentalFeatures(userNextConfigExperimental: NextConfig['experimental']): (keyof ExperimentalConfig)[];