You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
945 B

2 months ago
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): 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)[];