This commit is contained in:
2026-04-12 01:02:14 +08:00
parent 509487f155
commit 9b053e302b
14085 changed files with 2680009 additions and 12 deletions

View File

@@ -0,0 +1,18 @@
import type { ExperimentalConfig, NextConfigComplete, NextConfig } from './config-shared';
export { normalizeConfig } from './config-shared';
export type { DomainLocale, NextConfig } from './config-shared';
export declare function warnOptionHasBeenDeprecated(config: NextConfig, nestedPropertyKey: string, reason: string, silent: boolean): boolean;
export declare function warnOptionHasBeenMovedOutOfExperimental(config: NextConfig, oldExperimentalKey: string, newKey: string, configFileName: string, silent: boolean): NextConfig;
export default function loadConfig(phase: string, dir: string, { customConfig, rawConfig, silent, reportExperimentalFeatures, reactProductionProfiling, debugPrerender, }?: {
customConfig?: object | null;
rawConfig?: boolean;
silent?: boolean;
reportExperimentalFeatures?: (configuredExperimentalFeatures: ConfiguredExperimentalFeature[]) => void;
reactProductionProfiling?: boolean;
debugPrerender?: boolean;
}): Promise<NextConfigComplete>;
export type ConfiguredExperimentalFeature = {
key: keyof ExperimentalConfig;
value: ExperimentalConfig[keyof ExperimentalConfig];
reason?: string;
};