import { NodePath } from '@babel/traverse'; import * as t from '@babel/types'; /** * Given a NodePath to the first argument of a jsx() call (the component identifier), * resolve it to its original imported name from a GT source. * Returns null if the identifier is not imported from a GT library. */ export declare function resolveFirstArgGTName(firstArgPath: NodePath): string | null; /** Check if first arg of jsx call is user-written T (not GtInternalTranslateJsx) */ export declare function isUserTranslationComponent(firstArgPath: NodePath): boolean; /** Check if first arg is user-written Var, Num, Currency, DateTime, or RelativeTime */ export declare function isUserVariableComponent(firstArgPath: NodePath): boolean; /** Check if first arg is Branch or Plural */ export declare function isGTBranchComponent(firstArgPath: NodePath): boolean; /** Check if first arg is Derive */ export declare function isGTDeriveComponent(firstArgPath: NodePath): boolean; //# sourceMappingURL=isGTComponent.d.ts.map