import { VisitNode } from '@babel/traverse'; import * as t from '@babel/types'; /** * Info about the jsx callee names used in the file. * Populated during import analysis so processCallExpression * knows which callee to use for jsx (single child) vs jsxs (array children). */ export interface JsxCalleeInfo { /** Local name for single-child calls (jsx or _jsx or _jsxDEV) */ singleCallee: string | null; /** Local name for multi-child calls (jsxs or _jsxs or _jsxDEV) */ multiCallee: string | null; } /** * Process import declarations during jsx insertion. * - Checks if GtInternalTranslateJsx is already imported from a GT source. * - Collects React jsx callee info (jsx vs jsxs vs jsxDEV, including aliases). */ export declare function processImportDeclaration(onGtImportFound: () => void, calleeInfo: JsxCalleeInfo, autoJsxImportSource?: string): VisitNode; //# sourceMappingURL=processImportDeclaration.d.ts.map