import { Tree } from '@nx/devkit'; export interface CypressBaseSetupSchema { project: string; /** * directory from the projectRoot where cypress files will be generated * default is `cypress` * */ directory?: string; js?: boolean; jsx?: boolean; /** * When set, the generated `cypress.config` includes the e2e preset inline so * a fresh config is complete on first write - no post-hoc AST merge or * overwrite. Omit for a bare `defineConfig({})` (e.g. component testing, * which merges in its own `component` block afterwards). */ e2ePreset?: { /** * NxCypressE2EPresetOptions rendered by `renderE2EPresetOptions`: indented * JSON, except for values the config picks at runtime from `CI`. */ presetOptions: string; /** A JS expression rendered by `renderE2EPresetOptions`, not a bare URL. */ baseUrl?: string; }; } export declare function addBaseCypressSetup(tree: Tree, options: CypressBaseSetupSchema): void;