import { type Plugin } from 'vite'; /** * Installs the missing HTML preamble inside the Refresh runtime. Boundary modules import that runtime before evaluating * their preamble guards, including during incremental updates. Reconciler also imports it before registering its renderer. * Development defines route Refresh's globals to globalThis; ordinary window lookups stay native. */ export declare function createMiniReactRefreshTransforms(): Plugin[]; /** * Reproduces the browser preamble at runtime evaluation, after its declarations initialize. * The renderer hook, no-op registration and identity signature share Reconciler's real global. Development defines point * upstream guards at these same properties without replacing module-local Refresh registration. * These shared protocol properties are initialized once per runtime module evaluation, not for each updated boundary. */ export declare function transformRefreshRuntime(code: string): { code: string; map: null; }; /** Makes renderer hook injection statically depend on the refresh runtime. */ export declare function injectReactRefreshRendererDependency(code: string): { code: string; map: null; };