import { NodePath } from '@babel/traverse'; import { ParsingConfig } from '../types.js'; import { ParsingOutput } from '../types.js'; /** * Processes a single translation function call (e.g., t('hello world', { id: 'greeting' })). * Extracts the translatable string content and metadata, then adds it to the updates array. * * Handles: * - String literals: t('hello') * - Template literals without expressions: t(`hello`) * - Metadata extraction from options object * - Error reporting for non-derivable expressions and template literals with expressions * * @param tPath - The path to the translation call * @param config - The configuration to use * @param output - The output to use */ export declare function processTranslationCall(tPath: NodePath, config: ParsingConfig, output: ParsingOutput): void;