type RootPackagePatchReason = 'missing-package-json' | 'no-build-script' | 'non-turbo-build-script' | 'ambiguous-shell-build-script' | 'existing-filter-flags' | 'existing-build-docs-script' | 'disabled';
type RootPackagePatchStatus = 'applied' | 'dry-run' | 'skipped' | 'disabled' | 'already-configured';
export interface RootPackagePatchResult {
    status: RootPackagePatchStatus;
    reason?: RootPackagePatchReason;
    packageJsonPath: string;
    diff?: string;
    manualSnippet?: string;
    warnings: string[];
}
interface RootPackagePatchDependencies {
    readFile: (path: string, encoding: BufferEncoding) => Promise<string>;
    writeFile: (path: string, content: string, encoding: BufferEncoding) => Promise<void>;
}
interface RootPackagePatchOptions {
    repoRoot: string;
    appName: string;
    dryRun: boolean;
    enabled: boolean;
}
export declare function patchRootPackageJson(options: RootPackagePatchOptions, dependencies?: RootPackagePatchDependencies): Promise<RootPackagePatchResult>;
export {};
//# sourceMappingURL=root-package.d.ts.map