import * as t from '@babel/types'; import { NodePath } from '@babel/traverse'; import { ParsingConfigOptions } from '../../../types/parsing.js'; import { StringNode } from './types.js'; /** * Processes a string expression node and resolves any function calls within it * This handles cases like: * - "hello" (string literal) * - "hello" + world() (binary expression with function call) * - Math.random() > 0.5 ? "day" : "night" (conditional expression) * - greeting() (function call that returns string or conditional) * * @param node - The AST node to process * @param tPath - NodePath for scope resolution * @param file - Current file path * @param parsingOptions - Parsing configuration * @param warnings - Set to collect warning messages * @returns Node | null */ export declare function parseStringExpression(node: t.Node, tPath: NodePath, file: string, parsingOptions: ParsingConfigOptions, warnings: Set, errors: string[]): StringNode | null; /** * Converts a Node tree to an array of all possible string combinations * This is a helper function for compatibility with existing code */ export declare function nodeToStrings(node: StringNode | null): string[];