import { type ComponentHost, type Context } from '../core'; import type { FC } from '../jsx'; export type HMR_FC = FC & { __hmrId__: string; }; export interface JingeHmrRuntime { replaceComponentInstance(fc: FC): void; registerComponentInstance(fc: FC, instance: ComponentHost, props?: object, context?: Context): void; registerFunctionComponent(fc: FC, __hmrId__: string): void; getLatestFunctionComponent(fc: FC): FC; } export declare function initHmr(): void;