import type { SyntaxNode } from './parser.js'; import type { ImportAlias } from './extractImports.js'; export type RawTranslationCall = { source: string; id?: string; context?: string; maxChars?: number; staticId?: string; line: number; column: number; }; /** * Extracts translation function calls from a Python AST. * Walks all `call` nodes and checks if they reference a tracked import. */ export declare function extractCalls(rootNode: SyntaxNode, imports: ImportAlias[], filePath: string): Promise<{ calls: RawTranslationCall[]; errors: string[]; warnings: string[]; }>;