import { InstrumenterOptions, Instrumenter } from 'istanbul-lib-instrument';
import { LoaderContext } from 'webpack';
import { AddonOptionsWebpack } from '../types.js';
import 'vite-plugin-istanbul';

type Options = Partial<InstrumenterOptions> & AddonOptionsWebpack & {
    instrumenter: Instrumenter;
};
type RawSourceMap = {
    version: number;
    sources: string[];
    mappings: string;
    file: string;
    sourceRoot?: string;
    sourcesContent?: string[];
    names: string[];
};
declare function export_default(this: LoaderContext<Options>, source: string, sourceMap?: RawSourceMap): void;

export { type Options, export_default as default };
