import { Plugin } from 'vite';

declare type Options = {
    /**
     * Name of a global `window` variable where the Stimulus app is defined.
     *
     * @default '$$StimulusApp$$'
     */
    appGlobal?: string;
};

declare function StimulusHMRPlugin({ appGlobal }?: Options): Plugin;

export { Options, StimulusHMRPlugin as default };
