import { NodePath } from "@babel/core"; import { types } from "@babel/core"; /** * Ensures that a React import declaration exists in the given program. * If not, it adds the import declaration at the beginning of the program. * * @param {NodePath} programPath - The path to the Program node in the AST. * @param {typeof t} t - The Babel types. */ export declare function ensureReactImport(programPath: NodePath, t: typeof types): void;