import * as esbuild from 'esbuild'; import { Loader } from 'esbuild'; import { Config } from '../config'; import { OnTransformResult, PluginHooks } from '../plugins-executor'; export declare function EsbuildTransformPlugin({}?: {}): { name: string; setup: ({ onTransform, onClose, ctx: { config } }: PluginHooks) => void; }; export declare function resolveJsxOptions(options?: Config['jsx']): Pick | undefined; export declare const transform: ({ src, filePath, loader, config, }: { src: string; filePath: string; config?: Config | undefined; loader?: "jsx" | "js" | "ts" | "tsx" | "css" | "json" | "text" | "base64" | "file" | "dataurl" | "binary" | "default" | undefined; exitOnFailure?: boolean | undefined; }) => Promise; //# sourceMappingURL=esbuild.d.ts.map