import type { AstTransformResult } from '../../../utils/transform.ts'; /** * In serve, a native Page may load its original physical capsule after HMR has already installed a newer component factory. * Taro captures the component at createPageConfig() time; without this lookup, that Page first mounts with stale source even * though the patch was acknowledged. Replace only the component argument, leaving the production capsule untouched. */ export declare function injectDevPageComponent({ capsuleCode, componentId, capsuleId }: { capsuleCode: string; componentId: string; capsuleId: string; }): AstTransformResult;