import { TransformState } from '../../state/types'; import { VisitNode } from '@babel/traverse'; import * as t from '@babel/types'; import { JsxCalleeInfo } from './processImportDeclaration'; /** * Process program: * - on exit, injects GtInternalTranslateJsx/GtInternalVar import if needed * - also injects `jsx` from React runtime if only `jsxs` was imported * (Vite production builds only import what's needed — if a file has only * multi-child elements, `jsx` is never imported, but our _Var wrappers need it) */ export declare function processProgram({ state, countBefore, isAlreadyImported, calleeInfo, }: { state: TransformState; countBefore: number; isAlreadyImported: () => boolean; calleeInfo: JsxCalleeInfo; }): VisitNode; //# sourceMappingURL=processProgram.d.ts.map