import { JsxChildren } from 'generaltranslation/types'; import { MultipliedTreeNode } from './types.js'; /** * Add GT Identifier and minify the tree (recreates addGTIdentifier and writeChildrenAsObjects) * @param tree - The tree to add GT identifiers to * @param startingIndex - The starting index for GT IDs * @returns The tree with GT identifiers added */ export default function addGTIdentifierToSyntaxTree(tree: MultipliedTreeNode, startingIndex?: number, gtVariableNames?: Set): JsxChildren;