import * as unplugin from 'unplugin';

declare const defaultPolyfills: Record<string, Record<string, string>>;

interface PurgePolyfillsOptions {
    sourcemap?: boolean;
    replacements?: Record<string, false | Record<string, string>>;
    logLevel?: 'quiet' | 'verbose';
    mode?: 'load' | 'transform';
    /**
     * An array of patterns to match source files against when running in `transform` mode
     * @default [/\.[cm][tj]sx?$/]
     */
    include?: Array<string | RegExp>;
    /** An array of patterns to exclude source files when running in `transform` mode  */
    exclude?: Array<string | RegExp>;
}
declare const purgePolyfills: unplugin.UnpluginInstance<PurgePolyfillsOptions, boolean>;

export { type PurgePolyfillsOptions, defaultPolyfills, purgePolyfills };
