import type { ApplicationService } from '@adonisjs/core/types'; import ComponentHook from '../../component_hook.js'; import type ComponentContext from '../../component_context.js'; /** * Tracks parent/child component relationships across a request: which child * tag/ID belongs to which parent (keyed by wire:key), skips re-mounting a * child unchanged since the parent's previous render, and skips rendering a * child the parent removed since its last render. * PHP parity: SupportNestingComponents */ export declare class SupportNestingComponents extends ComponentHook { /** * PHP parity: SupportNestingComponents::hydrate */ hydrate(memo: Record): Promise; /** * PHP parity: SupportNestingComponents::dehydrate */ dehydrate(context: ComponentContext): Promise; static provide(app: ApplicationService): Promise; }