/**
 * 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 '../../flow_modules/@babel/traverse';
import type StateManager from '../utils/state-manager';

import * as t from '../../flow_modules/@babel/types';

/**
 * Transform `stylex.defaultTarget` calls and property access to use the configured classNamePrefix
 */
declare export default function transformStyleXDefaultTarget(
  path: NodePath<t.CallExpression | t.MemberExpression>,
  state: StateManager,
): void;
