import * as t from '@babel/types'; import { ParsingConfig } from '../types.js'; import { ParsingOutput } from '../types.js'; import { NodePath } from '@babel/traverse'; import { InlineMetadata } from './extractStringEntryMetadata.js'; /** * Helper function for processTranslationCall * Given arg and options, maps to appropriate translation call handler * @param tPath - The path to the translation call * @param config - The configuration to use * @param output - The output to use * @param arg - The argument to parse * @param metadata - The metadata to use * @param index - The index of the argument * @returns void */ export declare function routeTranslationCall({ tPath, config, output, arg, metadata, index, contextVariants, }: { tPath: NodePath; config: ParsingConfig; output: ParsingOutput; arg: t.CallExpression['arguments'][number]; metadata: InlineMetadata; index?: number; contextVariants?: string[]; }): void;