import type { ViteHotContext } from "vite/types/hot.js";
export type PackagesUpdate = {
    url: string;
    timestamp: string;
};
export declare function getHMRModule(): Promise<ViteHotContext | undefined>;
export declare function addExternalPackage(name: string): Promise<void>;
export declare function removeExternalPackage(name: string): Promise<void>;
export declare function handlePackageEvents(handler: (data: {
    name: string;
}) => void): Promise<void>;
export declare function useSubscribeToVetraPackages(): void;
//# sourceMappingURL=hmr.d.ts.map