import { type Plugin } from "esbuild";
/**
 * ESBuild plugin that replaces import paths pointing to directories
 * with explicit paths to the index file, but only if the output files
 * indicate that a direct file doesn't exist and an index file does.
 *
 * For example, it transforms:
 * ```javascript
 * import { myFunction } from '../folder';
 * ```
 * into:
 * ```javascript
 * import { myFunction } from '../folder/index';
 * ```
 *
 * @returns {import('esbuild').Plugin} An ESBuild plugin object.
 */
export declare const fixFolderImportsPlugin: () => Plugin;
//# sourceMappingURL=fixFolderImportsPlugin.d.ts.map