import { ExecutorContext } from '@nx/devkit'; import { PackageJson } from '@rxap/workspace-utilities'; export interface ProjectPackageJson extends PackageJson { funding?: string | { type: string; url: string; } | string[] | { type: string; url: string; }[]; } export declare function readPackageJsonForProject(context: ExecutorContext, projectName?: string): ProjectPackageJson; export declare function readPackageJsonForProjectWithRetry(context: ExecutorContext, projectName?: string, retries?: number, sleep?: number): Promise; export declare function readRootPackageJson(context: ExecutorContext, retries?: number, sleep?: number): Promise; export declare function writePackageJsonFormProject(context: ExecutorContext, content: T, projectName?: string): void;