import { Plugin as Plugin_2 } from 'esbuild';

declare const _default: (options?: Options | undefined) => Plugin_2;
export default _default;

/**
 * A valid `picomatch` glob pattern, or array of patterns.
 */
declare type FilterPattern = ReadonlyArray<string | RegExp> | string | RegExp | null;

declare type Options = {
    /**
     * The patterns of files to include.
     *
     * `Default`: `[/\.[cm]?tsx?$/]`
     */
    include?: FilterPattern;
    /**
     * The patterns of files to exclude.
     *
     * `Default`: `[/node_modules/]`
     */
    exclude?: FilterPattern;
    /**
     * The path to the tsconfig file.
     * If not specified, the plugin will try to find it automatically.
     *
     * `Default`: `tsconfig.json`
     */
    tsconfig?: string;
    /**
     * Whether to skip the compilation.
     *
     * If you're already using TypeScript compiler to compile your code, you can set this to `true`
     * to skip the additional compilation by this plugin
     * and utilize clawject transformer as a typescript compiler plugin https://clawject.com/docs/setup#bundler-with-typescript-loader
     *
     * `Default`: `false`
     */
    skipCompilation?: boolean;
};

export { }
