import { Component, javascript } from 'projen'; export interface NxCacheableTask { name: string; outputs: string[]; inputs?: string[]; } export interface NxOptions { /** * Which tasks are cacheable. * * @default - default settings for build, compile, test */ cacheableTasks?: NxCacheableTask[]; /** * The default branch * @default "main" */ defaultBase?: string; } export declare class Nx extends Component { readonly project: javascript.NodeProject; constructor(project: javascript.NodeProject, options?: NxOptions); preSynthesize(): void; }