import { NextConfig } from 'next'; import { PHASE_EXPORT, PHASE_PRODUCTION_BUILD, PHASE_PRODUCTION_SERVER, PHASE_DEVELOPMENT_SERVER, PHASE_TEST } from 'next/constants'; type Phase = typeof PHASE_EXPORT | typeof PHASE_PRODUCTION_BUILD | typeof PHASE_PRODUCTION_SERVER | typeof PHASE_DEVELOPMENT_SERVER | typeof PHASE_TEST; /** * This function creates the wrapper function for your Next.js config object. * * @example * import createNextGlobeGenPlugin from "next-globe-gen/plugin"; * const withNextGlobeGen = createNextGlobeGenPlugin(); * export default withNextGlobeGen({ * // Next.js config options here * }); */ declare function createNextGlobeGenPlugin(configPath?: string): (config: NextConfig) => (phase: Phase) => Promise; /** * @deprecated Will be removed in the next major release. Use default export instead. */ declare const withNextGlobeGenPlugin: typeof createNextGlobeGenPlugin; export { createNextGlobeGenPlugin as default, withNextGlobeGenPlugin };