/** * A plugin for the esbuild * convert code to es5 use @swc/core */ import { Plugin } from 'esbuild'; import { Options as SWCOptions } from '@swc/core'; export declare function transformFile(file: string, options?: SWCOptions): Promise; export declare function es5Plugin(options?: { filter?: RegExp; swc?: SWCOptions; }): Plugin;