import { Plugin } from "vite";
//#region src/index.d.ts
interface HmrGateOptions {
  /** Use full-reload (true, default) vs granular per-module HMR (false). */
  fullReload?: boolean;
  /** Watcher events to intercept. Default: all three — a freeze must catch adds and
   * deletes, not just content changes (e.g. atomic writes / synced files surface as add/unlink). */
  events?: ("change" | "add" | "unlink")[];
  /** File path substrings that bypass the gate (always emitted immediately). */
  passthrough?: string[];
}
declare function hmrGatePlugin(options?: HmrGateOptions): Plugin;
//#endregion
export { HmrGateOptions, hmrGatePlugin };