import { ProjectPlugin } from '@teleporthq/teleport-types'; import { NextProjectMapping } from './next-project-mapping'; import NextTemplate from './project-template'; /** * The ordered list of Next.js PROJECT-level plugins (the ones added via * `generator.addPlugin`). This is the SINGLE SOURCE OF TRUTH shared by * `createNextProjectGenerator` (below) and `packProject` in * `@teleporthq/teleport-code-generator`. * * `packProject` calls `cleanPlugins()` and rebuilds the project's plugin list * from scratch, so historically this list was duplicated there by hand. The two * copies drifted: a plugin registered here but missing from packProject's copy * (or lost to a stale build of that package) was silently dropped at generation * time. The visible symptom was a generated project that imports an npm package — * e.g. `framer-motion` from `components/tq-motion.js`, or the calendar/kanban * wrappers — that was never written into `package.json`, so `next build` failed * with "Module not found: Can't resolve 'framer-motion'". * * Defining the list once here makes that class of bug structurally impossible: * adding a new project plugin in this array automatically reaches BOTH the * standalone generator and packProject. Each call returns fresh plugin instances * (packProject re-invokes it after cleanPlugins()). * * NOTE: this intentionally excludes the few packProject-only plugins that need * runtime options (i18n sitemap config, forms-captcha script, cross-framework * i18n files); those remain in packProject. */ export declare const createNextProjectPlugins: () => ProjectPlugin[]; declare const createNextProjectGenerator: () => import("@teleporthq/teleport-project-generator").ProjectGenerator; export { createNextProjectGenerator, NextProjectMapping, NextTemplate }; export { createNextGlobalStateComponentPlugin } from './global-state/component-plugin'; export { NextGlobalStateProjectPlugin } from './global-state/project-plugin'; export { NextAIChatProjectPlugin } from './ai-chat/project-plugin'; export { createAIChatLocalizedWelcomePlugin } from './ai-chat/component-plugin'; export { createAIChatMarkdownStylesPlugin } from './ai-chat/markdown-styles-plugin'; export { createAIChatOptionChipsStylesPlugin } from './ai-chat/option-chips-styles-plugin'; export { createAIChatSessionPersistencePlugin } from './ai-chat/session-persistence-plugin'; export { NextAnalyticsProjectPlugin } from './analytics/project-plugin'; export { NextEcommerceProjectPlugin } from './ecommerce/project-plugin'; export { NextBlogProjectPlugin } from './blog/project-plugin'; export { NextDashboardLayoutPlugin } from './dashboard-layout-plugin'; export { createEntityMutationSsrFinalizerPlugin } from './entity-mutation-ssr-finalize-plugin'; export { NextRichTextEditorProjectPlugin } from './rich-text-editor/project-plugin'; export { createRichTextEditorComponentPlugin } from './rich-text-editor/component-plugin'; export { NextRichContentEmbedsProjectPlugin } from './rich-content-embeds/project-plugin'; export { generateRichContentEmbedsComponentCode } from './rich-content-embeds/embed-activator-component'; export { NextCalendarKitProjectPlugin } from './calendar/project-plugin'; export { CALENDARKIT_CSS, CALENDARKIT_VERSION } from './calendar/calendarkit-css'; export { NextDragDropProjectPlugin } from './drag-drop/project-plugin'; export { NextKanbanProjectPlugin } from './kanban/project-plugin'; export { NextCountdownProjectPlugin } from './countdown/project-plugin'; export { createNextWidgetProjectPlugins } from './widgets'; export { generateDragDropComponentCode } from './drag-drop/component-generator'; export { generateKanbanComponentCode } from './kanban/component-generator'; export { generateCountdownComponentCode } from './countdown/component-generator'; export { createLocalComponentPathPlugin, INTERACTIVE_PRIMITIVE_COMPONENT_FILES, } from './local-component-path-plugin'; export { NextFormsCaptchaScriptPlugin } from './forms/captcha-script-plugin'; export { NextProjectPlugini18nConfig } from './internationalization/project'; export { NextDataSourceDependenciesPlugin } from './data-source-dependencies'; export { NextDataSourceUtilityPlugin } from './data-source-utility-plugin'; export { NextWorkflowProjectPlugin } from '@teleporthq/teleport-plugin-next-workflows'; export { createNextLocaleFetcherPlugin } from './internationalization/locale-fetcher-component'; export { createNextInternationalizationPlugin } from './internationalization/locale-mapper-component'; export { createNextFormSubmissionPlugin } from './forms/form-submission-handler'; export { createNextPagesDataSourcePlugin, createNextComponentDataSourcePlugin, } from '@teleporthq/teleport-plugin-next-data-source'; export { createNextPartialGenerator } from './partial'; export type { NextPartialGeneratorOptions, PartialGenerationResult, FrameworkConfigInput, } from './partial'; export { splitProjectUIDL } from './split-utils'; export type { SplitProjectResult } from './split-utils'; //# sourceMappingURL=index.d.ts.map