import { Capability, ComposedPreset } from "@theholocron/cli"; //#region capabilities/nextjs.d.ts interface NextjsOptions { /** Extra `with:` inputs merged into the `test` workflow entry. */ test?: Record; } /** * Bundle preset for Next.js application repos. Returns a Capability[] that * includes react() so callers only need compose(node(), typecheck(), nextjs()). * compose() deduplicates, so adding react() explicitly is harmless. * * Adds: Vercel deployment and Cypress user-flow tests on top of react(). * Requires (via react()): node, typecheck * * @example * const preset = compose(node(), typecheck(), nextjs({ test: { "wait-on-url": "http://localhost:3000" } })); */ declare function nextjs$1({ test: testOverrides }?: NextjsOptions): Capability[]; //#endregion //#region configs/nextjs.d.ts /** * Preset for single-package Next.js application repos. Includes Vercel * deployment, Lighthouse audit, Storybook + interaction + user-flow tests, * and the derived Conclusion checks. * * @example * const preset = nextjs({ test: { "wait-on-url": "http://localhost:3000", "run-chromatic": true } }); * export default defineConfig({ * ...preset, * repo: { ...preset.repo, name: "theholocron/my-app", topics: ["nextjs"] }, * tasks: [ * ...preset.tasks, * "sync", * { name: "deploy", with: { docs: true, storybook: [{ name: "" }] } }, * ], * }); */ declare function nextjs(options?: NextjsOptions): ComposedPreset; //#endregion export { NextjsOptions as n, nextjs$1 as r, nextjs as t };