import * as t from '@babel/types'; import type { NodePath } from '@babel/traverse'; import { type FlattenExpressionError } from './flattenExpressionToParts'; export type ResolveStaticExpressionError = FlattenExpressionError | { kind: 'dynamic-expression'; message: string; }; /** * Attempt to resolve an expression to static string values at compile time. * Handles string literals, template literals, binary '+' concatenation, * nested combinations, and numeric/boolean/null literals coerced to string. * * Returns all resolved values, or undefined if the expression contains * dynamic or derive content. */ export declare function resolveStaticExpression(exprPath: NodePath): { errors: ResolveStaticExpressionError[]; values?: string[]; }; //# sourceMappingURL=resolveStaticExpression.d.ts.map