import { GeneratorCallback, Tree } from '@nx/devkit'; import { type LinterType } from '@nx/js'; export interface CyLinterOptions { project: string; linter: LinterType; enableTypedLinting?: boolean; skipPackageJson?: boolean; rootProject?: boolean; js?: boolean; /** * Directory from the project root, where the cypress files will be located. * typically src/ or cypress/ **/ cypressDir: string; /** * overwrite existing eslint rules for the cypress defaults * This is useful when adding linting to a brand new project vs an existing one **/ overwriteExisting?: boolean; } export declare function addLinterToCyProject(tree: Tree, options: CyLinterOptions): Promise;