import RefreshRuntime from "react-refresh/runtime"; type ComponentType = (...args: unknown[]) => unknown; /** * Creates registration functions for a module's React components. * * Used internally by the Vite plugin to register components * for React Fast Refresh. * * @param moduleId - Unique identifier for the module * @returns Registration functions for the module * @internal */ export declare function createModuleRegistration(moduleId: string): { $RefreshReg$: (type: ComponentType, id: string) => void; $RefreshSig$: typeof RefreshRuntime.createSignatureFunctionForTransform; }; /** * Checks if a module's exports form a React Refresh boundary. * * A module is a refresh boundary if all its exports are React components, * allowing for fast refresh without full page reload. * * @param moduleExports - The module's exports object * @returns `true` if the module can be fast-refreshed * @internal */ export declare function isReactRefreshBoundary(moduleExports: Record): boolean; /** * Triggers React Fast Refresh to re-render components. * * Called after module updates when all exports are React components. * * @internal */ export declare function performRefresh(): void; export {}; //# sourceMappingURL=refresh-runtime.d.ts.map