import { ModuleNamespace } from 'vite/types/hot.js'; /** * Update web component proxies when a module is updated. * * @remarks * You should not need to call this function directly - it will be inserted * automatically when running in serve mode. * * @private */ export declare function handleHmrUpdate(newModules: (ModuleNamespace | undefined)[]): void; /** @private */ export type HmrComponentMeta = { readonly tagName: string; /** * 2nd tuple element ("attribute") is missing when attribute name can be * trivially inferred from the property name (using camelToKebab()). * If 2nd tuple element is empty string, it means the property does not have * an attribute. */ readonly properties: (readonly [property: string, attribute: string] | readonly [property: string])[]; readonly asyncMethods: readonly string[]; readonly syncMethods: readonly string[]; }; /** * Update lazy component meta * * @remarks * You should not need to call this function directly - it will be inserted * automatically when running in serve mode. * * @private */ export declare function handleComponentMetaUpdate(meta: HmrComponentMeta): void;