import { Plugin } from 'esbuild';
import { ESBuildContext } from '../types.cjs';
import '@nx/devkit';
import '@storm-software/build-tools';
import '@storm-software/config';
import 'tsup';

/**
 * Forces `esbuild` to always use the TS compiler paths, even when we are
 * bundling a local dependency of a local dependency, ensuring maximum
 * tree-shaking. Note: `esbuild` has some support for this, though it is limited
 * in the amount of dependency nesting it supports.
 */
declare const resolvePathsPlugin: (context: ESBuildContext) => Plugin;

export { resolvePathsPlugin };
