/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @flow strict
 */

import type { NodePath } from '@babel/traverse';
import * as t from '@babel/types';
import StateManager from '../utils/state-manager';
/// Transforms `stylex.unstable_createThemeNested` calls.
/// Validates, evaluates both arguments, delegates to the shared
/// stylexCreateThemeNested transform, replaces the AST, and registers styles.
declare export default function transformStyleXCreateThemeNested(
  callExpressionPath: NodePath<t.CallExpression>,
  state: StateManager,
): void;
