import type { Compiler } from 'webpack';
import { type CodeTransformerPluginOptions } from './core.js';
export interface CodeTransformerWebpackPluginOptions extends CodeTransformerPluginOptions {
    /**
     * The loader webpack should run, as a resolved path or a specifier
     * resolvable from the compiler's context. Defaults to this package's own
     * loader.
     *
     * Point this at a loader module built with `createLoader` from the
     * `/webpack-loader-factory` export when loader options cannot carry
     * `customTransforms` — under Turbopack, or with worker-based loaders such
     * as `thread-loader`, which serialize them.
     */
    loaderPath?: string;
    /**
     * An arbitrary string folded into the loader's cache key, for use with
     * `cache: { type: 'filesystem' }`.
     *
     * The key already covers the instrumentations and the source text of every
     * custom transform, so editing either invalidates cached modules. What it
     * cannot see is data a transform reads without naming it — a captured
     * variable, or a module-scope table of snippets. Bump this when such data
     * changes, or derive it from the data itself.
     */
    cacheVersion?: string;
}
declare class CodeTransformerWebpackPlugin {
    private readonly options;
    constructor(options: CodeTransformerWebpackPluginOptions);
    apply(compiler: Compiler): void;
}
export default function codeTransformerWebpack(options: CodeTransformerWebpackPluginOptions): CodeTransformerWebpackPlugin;
export type { CodeTransformerPluginOptions } from './core.js';
