import type { HttpContext } from '@adonisjs/core/http'; import { type Edge } from 'edge.js'; import { type ApplicationService, type HttpRouterService } from '@adonisjs/core/types'; export declare class BaseComponent { #private; bindings: any; app: ApplicationService; ctx: HttpContext; /** * Internal method to set router - not exposed to end users * @internal */ __setRouter(router: HttpRouterService): void; /** * Internal method to get router - not exposed to end users * @internal */ __getRouter(): HttpRouterService; get __id(): string; set __id(value: string); get __name(): string; set __name(value: string); get viewPath(): string; set viewPath(path: string); get view(): ReturnType; set view(renderer: ReturnType); get viewData(): Record; set viewData(data: Record); setId(id: string): void; getId(): string; setName(name: string): void; setViewPath(view: string): void; getName(): string; render(): Promise; skipRender(html?: string): void; /** * PHP parity: Livewire\Attributes\Transition's runtime alternative, * $this->transition(type: ...). Configures the browser's View * Transitions API for whatever DOM morph happens as a result of the * current action - see support_transition/support_transition.ts for * where this actually reaches the client (as the 'transition' effect). */ transition(type?: string): void; /** * PHP parity: $this->skipTransition(). Forces an instant DOM update for * the current action, bypassing the view transition entirely (even if * `wire:transition` is present on the morphed element). */ skipTransition(): void; /** * Whether skipRender() was called for this render pass. * PHP parity: shouldSkipRender() */ shouldSkipRender(): boolean; skipMount(): void; skipHydrate(): void; }