import type { Report } from '../../../types.ts';
export declare const CODEGEN_DOCS = "https://reactnative.dev/docs/the-new-architecture/using-codegen#configuring-codegen";
/**
 * Currently, running react-native codegen generates java files with package name `com.facebook.fbreact.specs`.
 * This is a known issue in react-native itself.
 * You can find the relevant line here: https://github.com/facebook/react-native/blob/dc460147bb00d6f912cc0a829f8040d85faeeb13/packages/react-native/scripts/codegen/generate-artifacts-executor.js#L459.
 * To workaround, this function renames the package name to the one provided in the codegenConfig.
 * @throws if codegenConfig.outputDir.android or codegenConfig.android.javaPackageName is not defined in package.json
 * @throws if the codegenAndroidPath does not exist
 */
export declare function patchCodegenAndroidPackage(projectPath: string, packageJson: any, report: Report): Promise<void>;
