afterNextRender(spec: { earlyRead?: () => E; write?: (...args: [E] extends [never] ? [] : [E]) => W; mixedReadWrite?: (...args: [W] extends [never] ? [E] extends [never] ? [] : [E] : [W]) => M; read?: (...args: [...] extends [...] ? [...] extends [...] ? [...] extends [...] ? [] : [...] : [...] : [...]) => void; }, options?: Omit<AfterRenderOptions, "phase">): AfterRenderRef;afterNextRender(callback: VoidFunction, options?: AfterRenderOptions): AfterRenderRef;