import { NodePath, VisitNode } from '@babel/traverse'; import * as t from '@babel/types'; /** * Tracks the import declaration path where the runtime translate functions * were found (or injected). Used to insert the Promise.all right after it. */ export interface ImportAnchor { path: NodePath | null; } /** * Process import declarations during runtime translate pass. * Checks if GtInternalRuntimeTranslateString and/or GtInternalRuntimeTranslateJsx * are already imported from a recognized GT source. * Also captures the import path as an anchor for statement insertion. */ export declare function processImportDeclaration(onStringFound: () => void, onJsxFound: () => void, importAnchor: ImportAnchor): VisitNode; //# sourceMappingURL=processImportDeclaration.d.ts.map