import type { TapableHookEvent } from '../../typings'; declare global { module NodeJS { interface ViteReactAutoConfigServer { onStart: Function; onPluginReady: () => void; onGenerateFiles: TapableHookEvent; } } } export declare const stage = -99; export default function globalEvent(api: NodeJS.ViteReactAutoConfigServer): Promise;